diff options
Diffstat (limited to 'src/mesa/main/glheader.h')
-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 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 * |