summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL')
-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 808a2a5a60..a8580b4260 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