projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64feef
)
Alexander Gottwald's patch for cygwin
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 22 Jun 2004 17:16:02 +0000
(17:16 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 22 Jun 2004 17:16:02 +0000
(17:16 +0000)
include/GL/gl.h
patch
|
blob
|
history
diff --git
a/include/GL/gl.h
b/include/GL/gl.h
index 60669aaf620d8ab6763d08615c8fc672e22448f7..ca0ab31328facc4f45e6d62470607ac1b60ecadb 100644
(file)
--- 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