changes to _WIN32 test and APIENTRY test
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 3 Mar 2000 15:00:14 +0000 (15:00 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 3 Mar 2000 15:00:14 +0000 (15:00 +0000)
include/GL/glext.h

index 4c7ccbb..bfbaaa8 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
 #endif
 
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
 #define WIN32_LEAN_AND_MEAN 1
 #include <windows.h>
 #endif
@@ -23,7 +23,7 @@ extern "C" {
 #define GLAPI extern
 #endif
 
-#ifdef GLAPIENTRY
+#if defined(GLAPIENTRY) && !defined(APIENTRY)
 #define APIENTRY GLAPIENTRY
 #endif