conditionally define GLAPIENTRYP to prevent some warnings in linux-solo
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 6 Dec 2003 17:58:30 +0000 (17:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 6 Dec 2003 17:58:30 +0000 (17:58 +0000)
src/mesa/main/glheader.h

index c0123d6cfe22d535bec5bf1726f9595ecd07e5c0..952a62d3fa55b7f9f3340102138a3de474b35fa8 100644 (file)
 /* non-Windows compilation */
 #  define GLAPI extern
 #  define GLAPIENTRY
-#  define GLAPIENTRYP *
+#  ifndef GLAPIENTRYP
+#    define GLAPIENTRYP *
+#  endif
 #  define GLCALLBACK
 #  define GLCALLBACKP *
 #  define GLCALLBACKPCAST *