summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-20 19:26:01 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:03:29 +0100
commit1408a14b2c01c95ec17478dea6083f87b2d18ef7 (patch)
tree010f21a8ee3b443603966dc2cd0066eecf0ff9c1 /include
parentfb872e09a39470f0d6d5ff805dacc35360645826 (diff)
patched for Cygwin (Sven Panne)
Diffstat (limited to 'include')
-rw-r--r--include/GL/glut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index 225bb87..20605cb 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -108,7 +108,7 @@ extern _CRTIMP void __cdecl exit(int);
and redifinition of Windows system defs, also removes requirement of
pretty much any standard windows header from this file */
-#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
+#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__CYGWIN32__)
# define GLUTAPIENTRY __stdcall
#else
# define GLUTAPIENTRY