| commit | 4c7e3c29f7cbf9443b7abe11881504fff3cbfcc2 | [log] [tgz] |
|---|---|---|
| author | Brian Paul <brian.paul@tungstengraphics.com> | Fri Mar 03 15:00:14 2000 +0000 |
| committer | Brian Paul <brian.paul@tungstengraphics.com> | Fri Mar 03 15:00:14 2000 +0000 |
| tree | 60fd99d4175696640fd4af50031f083685eaf4fd | |
| parent | f9b9cd71d68528171a4253be027b7c182fc63ad8 [diff] [blame] |
changes to _WIN32 test and APIENTRY test
diff --git a/include/GL/glext.h b/include/GL/glext.h index 4c7ccbb..bfbaaa8 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h
@@ -14,7 +14,7 @@ #endif -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN32__) #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #endif @@ -23,7 +23,7 @@ #define GLAPI extern #endif -#ifdef GLAPIENTRY +#if defined(GLAPIENTRY) && !defined(APIENTRY) #define APIENTRY GLAPIENTRY #endif