summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-12-06 17:58:30 +0000
committerBrian Paul <[email protected]>2003-12-06 17:58:30 +0000
commit8172cec94308d39a7da22df7c9101624cd3ec5b2 (patch)
tree4d0661f7da5e3a7cf5193652b1e3eddadab4d1d1 /src/mesa
parent1a644b333cdeb61fc0d3f1d4cc2b152cbd0e0894 (diff)
conditionally define GLAPIENTRYP to prevent some warnings in linux-solo
Diffstat (limited to 'src/mesa')
-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 c0123d6cfe2..952a62d3fa5 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 *