summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-06-22 17:16:02 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-06-22 17:16:02 +0000
commit6b869d4fe19dc0ed35bdd17c843f25553e9e887c (patch)
tree2309ef2ef095893390a1878cd481407867409992 /include/GL
parenta64feeffcabef7d7146fd362b59cb595e7761ff1 (diff)
Alexander Gottwald's patch for cygwin
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h3
1 files changed, 3 insertions, 0 deletions
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