diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-12-06 17:58:30 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-12-06 17:58:30 +0000 |
commit | 8172cec94308d39a7da22df7c9101624cd3ec5b2 (patch) | |
tree | 4d0661f7da5e3a7cf5193652b1e3eddadab4d1d1 /src | |
parent | 1a644b333cdeb61fc0d3f1d4cc2b152cbd0e0894 (diff) |
conditionally define GLAPIENTRYP to prevent some warnings in linux-solo
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/glheader.h | 4 |
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 * |