summaryrefslogtreecommitdiffstats
path: root/include/GLES/glplatform.h
diff options
context:
space:
mode:
authorJonathan White <[email protected]>2008-07-16 16:10:57 -0600
committerBrian Paul <[email protected]>2008-07-16 16:11:38 -0600
commite4f3770690129dc1ea683fadbe07f1fbc49cf271 (patch)
tree1a4e8bf7daf0dbe6106c46c08fbdc7f07defbf89 /include/GLES/glplatform.h
parentab8f838060c7d30b8b18cac600c4b1d97ecf3f6c (diff)
mesa: WinCE fixes
Diffstat (limited to 'include/GLES/glplatform.h')
-rw-r--r--include/GLES/glplatform.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h
index dbbf2b91949..6e725b18a9d 100644
--- a/include/GLES/glplatform.h
+++ b/include/GLES/glplatform.h
@@ -51,7 +51,11 @@ extern "C" {
# else
# define GL_API __declspec(dllimport)
# endif
-# define GL_APIENTRY __stdcall
+# ifdef UNDER_CE
+# define GL_APIENTRY
+# else
+# define GL_APIENTRY __stdcall
+# endif
#else
# ifdef __GL_EXPORTS
# define GL_API