Commit 76685b80 authored by Sam Lantinga's avatar Sam Lantinga

Fixed building with CodeWarrior on MacOS Classic

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401776
parent f766db82
...@@ -19,6 +19,10 @@ ...@@ -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"
......
...@@ -5,6 +5,10 @@ ...@@ -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"
......
...@@ -15,7 +15,7 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment