summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/GL/glext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index 808a2a5a60d..a8580b4260b 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -23,6 +23,10 @@ extern "C" {
#define GLAPI extern
#endif
+#ifdef GLAPIENTRY
+#define APIENTRY GLAPIENTRY
+#endif
+
#ifndef APIENTRY
#define APIENTRY
#endif