From 8172cec94308d39a7da22df7c9101624cd3ec5b2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 6 Dec 2003 17:58:30 +0000 Subject: conditionally define GLAPIENTRYP to prevent some warnings in linux-solo --- src/mesa/main/glheader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 * -- cgit v1.2.3