summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/glheader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index c0123d6cfe..952a62d3fa 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -121,7 +121,9 @@
/* non-Windows compilation */
# define GLAPI extern
# define GLAPIENTRY
-# define GLAPIENTRYP *
+# ifndef GLAPIENTRYP
+# define GLAPIENTRYP *
+# endif
# define GLCALLBACK
# define GLCALLBACKP *
# define GLCALLBACKPCAST *