summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h
index 3cd1113509f..cd967ac5ed4 100644
--- a/include/GL/glu.h
+++ b/include/GL/glu.h
@@ -38,8 +38,12 @@
#include <GL/gl.h>
#ifndef GLAPIENTRY
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#define GLAPIENTRY __stdcall
+#else
#define GLAPIENTRY
#endif
+#endif
#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *