summaryrefslogtreecommitdiffstats
path: root/include/GLES/glplatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GLES/glplatform.h')
-rw-r--r--include/GLES/glplatform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h
index 543464ba6fb..dbbf2b91949 100644
--- a/include/GLES/glplatform.h
+++ b/include/GLES/glplatform.h
@@ -51,15 +51,16 @@ extern "C" {
# else
# define GL_API __declspec(dllimport)
# endif
+# define GL_APIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_API
# else
# define GL_API extern
# endif
+# define GL_APIENTRY
#endif
-#define GL_APIENTRY
#ifndef APIENTRY
# define APIENTRY GL_APIENTRY