diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-06-22 17:16:02 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-06-22 17:16:02 +0000 |
commit | 6b869d4fe19dc0ed35bdd17c843f25553e9e887c (patch) | |
tree | 2309ef2ef095893390a1878cd481407867409992 /include | |
parent | a64feeffcabef7d7146fd362b59cb595e7761ff1 (diff) |
Alexander Gottwald's patch for cygwin
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/gl.h | 3 |
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 |