Alexander Gottwald's patch for cygwin
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)
include/GL/gl.h

index 60669aaf620d8ab6763d08615c8fc672e22448f7..ca0ab31328facc4f45e6d62470607ac1b60ecadb 100644 (file)
@@ -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