Use consistent identifiers for the various platforms we support.

Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
This commit is contained in:
Sam Lantinga 2006-02-21 08:46:50 +00:00
parent 14ec0fcc7b
commit c36118165e
502 changed files with 974 additions and 219 deletions

View file

@ -22,7 +22,9 @@
/* This is a simple file to encapsulate the OpenGL API headers */
#ifdef WIN32
#include "SDL_config.h"
#ifdef __WIN32__
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX /* Don't defined min() and max() */
@ -32,7 +34,7 @@
#ifndef NO_SDL_GLEXT
#define __glext_h_ /* Don't let gl.h include glext.h */
#endif
#if defined(__APPLE__) && defined(__MACH__)
#ifdef __MACOSX__
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */
#include <OpenGL/glu.h> /* Header File For The GLU Library */
#else