mesa_wgl.h should only be included when _WIN32 is defined
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 17 Sep 1999 05:56:43 +0000 (05:56 +0000)
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 17 Sep 1999 05:56:43 +0000 (05:56 +0000)
src/glut/glx/glutint.h

index 49e965349e7ee3e8473e78ea22ac846c76af6098..554958ed013b8cc9f3e9b703f5cb6aa21f469914 100644 (file)
 #define GLUT_BUILDING_LIB  /* Building the GLUT library itself. */
 #include <GL/glut.h>
 
-#ifdef MESA
+#if defined( MESA ) && defined( _WIN32 )
 #include <gl/mesa_wgl.h>
 #endif
 
-/* added by BrianP: */
 #ifndef _WIN32
+/* added by BrianP: */
 #define APIENTRY GLAPIENTRY
 #define __cdecl GLAPIENTRY
 #define CDECL GLAPIENTRY