From: Brian Paul Date: Tue, 22 Jun 2004 17:16:02 +0000 (+0000) Subject: Alexander Gottwald's patch for cygwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b869d4fe19dc0ed35bdd17c843f25553e9e887c;p=mesa.git Alexander Gottwald's patch for cygwin --- diff --git a/include/GL/gl.h b/include/GL/gl.h index 60669aaf620..ca0ab31328f 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -61,6 +61,9 @@ # define GLAPI extern # endif /* _STATIC_MESA support */ # define GLAPIENTRY __stdcall +#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ +# define GLAPI extern +# define GLAPIENTRY __stdcall #else /* non-Windows compilation */ # define GLAPI extern