summaryrefslogtreecommitdiffstats
path: root/include/GLES
diff options
context:
space:
mode:
Diffstat (limited to 'include/GLES')
-rw-r--r--include/GLES/glplatform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h
index afbec74ea5f..5ce0cbe84a2 100644
--- a/include/GLES/glplatform.h
+++ b/include/GLES/glplatform.h
@@ -45,14 +45,13 @@ extern "C" {
* Definition of GL_API and GL_APIENTRY
*-----------------------------------------------------------------------*/
-#define __GL_EXPORTS
-
#ifdef _WIN32
# ifdef __GL_EXPORTS
# define GL_API __declspec(dllexport)
# else
# define GL_API __declspec(dllimport)
# endif
+# define GLAPIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_API