summaryrefslogtreecommitdiff
path: root/include/GL/glu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/glu.h')
-rw-r--r--include/GL/glu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h
index 5eaa5547482..99515dcc373 100644
--- a/include/GL/glu.h
+++ b/include/GL/glu.h
@@ -40,6 +40,10 @@
#define GLAPIENTRY
#endif
+#ifndef GLAPIENTRYP
+#define GLAPIENTRYP GLAPIENTRY *
+#endif
+
#ifndef GLAPI
#define GLAPI
#endif
@@ -266,7 +270,7 @@ typedef GLUtesselator GLUtriangulatorObj;
#define GLU_TESS_MAX_COORD 1.0e150
/* Internal convenience typedefs */
-typedef void (GLAPIENTRY *_GLUfuncptr)();
+typedef void (GLAPIENTRYP _GLUfuncptr)();
GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb);
GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess);