mesa_wgl.h should only be included when _WIN32 is defined

This commit is contained in:
Jouk Jansen 1999-09-17 05:56:43 +00:00
parent 477da9eff1
commit 727f35a518
1 changed files with 2 additions and 2 deletions

View File

@ -24,12 +24,12 @@
#define GLUT_BUILDING_LIB /* Building the GLUT library itself. */ #define GLUT_BUILDING_LIB /* Building the GLUT library itself. */
#include <GL/glut.h> #include <GL/glut.h>
#ifdef MESA #if defined( MESA ) && defined( _WIN32 )
#include <gl/mesa_wgl.h> #include <gl/mesa_wgl.h>
#endif #endif
/* added by BrianP: */
#ifndef _WIN32 #ifndef _WIN32
/* added by BrianP: */
#define APIENTRY GLAPIENTRY #define APIENTRY GLAPIENTRY
#define __cdecl GLAPIENTRY #define __cdecl GLAPIENTRY
#define CDECL GLAPIENTRY #define CDECL GLAPIENTRY