summaryrefslogtreecommitdiff
path: root/include/GLES/glplatform.h
diff options
context:
space:
mode:
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