summaryrefslogtreecommitdiff
path: root/src/glut/glx
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>1999-09-17 05:56:43 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>1999-09-17 05:56:43 +0000
commit727f35a518f4793a6597a2a4192278dd32b12ae5 (patch)
tree19f8cac9832ffaf1a35668aadd68462b4e7ac482 /src/glut/glx
parent477da9eff1bbe6e1a4a3f2cfd6d791557ce15a6a (diff)
mesa_wgl.h should only be included when _WIN32 is defined
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/glutint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 49e965349e..554958ed01 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 <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