From: Brian Paul Date: Fri, 3 Mar 2000 15:00:14 +0000 (+0000) Subject: changes to _WIN32 test and APIENTRY test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c7e3c29f7cbf9443b7abe11881504fff3cbfcc2;p=mesa.git changes to _WIN32 test and APIENTRY test --- diff --git a/include/GL/glext.h b/include/GL/glext.h index 4c7ccbb2fb6..bfbaaa81530 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -14,7 +14,7 @@ extern "C" { #endif -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN32__) #define WIN32_LEAN_AND_MEAN 1 #include #endif @@ -23,7 +23,7 @@ extern "C" { #define GLAPI extern #endif -#ifdef GLAPIENTRY +#if defined(GLAPIENTRY) && !defined(APIENTRY) #define APIENTRY GLAPIENTRY #endif