Fixed building with CodeWarrior on MacOS Classic

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401776
This commit is contained in:
Sam Lantinga 2006-05-11 08:09:16 +00:00
parent f766db82dc
commit 76685b8056
3 changed files with 9 additions and 1 deletions

View file

@ -19,6 +19,10 @@
#include "SDL.h" #include "SDL.h"
#ifdef __MACOS__
#define HAVE_OPENGL
#endif
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL
#include "SDL_opengl.h" #include "SDL_opengl.h"

View file

@ -5,6 +5,10 @@
#include "SDL.h" #include "SDL.h"
#ifdef __MACOS__
#define HAVE_OPENGL
#endif
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL
#include "SDL_opengl.h" #include "SDL_opengl.h"

View file

@ -15,7 +15,7 @@
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846
#endif #endif
#include <SDL.h> #include "SDL.h"
/* screen size */ /* screen size */
#define SCRW 640 #define SCRW 640