include/SDL_opengl.h
changeset 1402 d910939febfa
parent 1312 c9b51268668f
child 1424 7a610f25c12f
     1.1 --- a/include/SDL_opengl.h	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/include/SDL_opengl.h	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -22,7 +22,9 @@
     1.4  
     1.5  /* This is a simple file to encapsulate the OpenGL API headers */
     1.6  
     1.7 -#ifdef WIN32
     1.8 +#include "SDL_config.h"
     1.9 +
    1.10 +#ifdef __WIN32__
    1.11  #define WIN32_LEAN_AND_MEAN
    1.12  #ifndef NOMINMAX
    1.13  #define NOMINMAX	/* Don't defined min() and max() */
    1.14 @@ -32,7 +34,7 @@
    1.15  #ifndef NO_SDL_GLEXT
    1.16  #define __glext_h_  /* Don't let gl.h include glext.h */
    1.17  #endif
    1.18 -#if defined(__APPLE__) && defined(__MACH__)
    1.19 +#ifdef __MACOSX__
    1.20  #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    1.21  #include <OpenGL/glu.h>	/* Header File For The GLU Library */
    1.22  #else