From: Brian Paul Date: Sat, 6 Dec 2003 17:58:30 +0000 (+0000) Subject: conditionally define GLAPIENTRYP to prevent some warnings in linux-solo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8172cec94308d39a7da22df7c9101624cd3ec5b2;p=mesa.git conditionally define GLAPIENTRYP to prevent some warnings in linux-solo --- 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 *