From 6b869d4fe19dc0ed35bdd17c843f25553e9e887c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 22 Jun 2004 17:16:02 +0000 Subject: Alexander Gottwald's patch for cygwin --- include/GL/gl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/GL') diff --git a/include/GL/gl.h b/include/GL/gl.h index 60669aaf62..ca0ab31328 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 -- cgit v1.2.3