From: Jouk Jansen Date: Fri, 17 Sep 1999 05:56:43 +0000 (+0000) Subject: mesa_wgl.h should only be included when _WIN32 is defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=727f35a518f4793a6597a2a4192278dd32b12ae5;p=mesa.git mesa_wgl.h should only be included when _WIN32 is defined --- diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h index 49e965349e7..554958ed013 100644 --- a/src/glut/glx/glutint.h +++ b/src/glut/glx/glutint.h @@ -24,12 +24,12 @@ #define GLUT_BUILDING_LIB /* Building the GLUT library itself. */ #include -#ifdef MESA +#if defined( MESA ) && defined( _WIN32 ) #include #endif -/* added by BrianP: */ #ifndef _WIN32 +/* added by BrianP: */ #define APIENTRY GLAPIENTRY #define __cdecl GLAPIENTRY #define CDECL GLAPIENTRY