Fixed building with CodeWarrior on MacOS Classic

This commit is contained in:
Sam Lantinga
2006-05-11 08:09:16 +00:00
parent 2c1976a764
commit 0145303a7d
3 changed files with 9 additions and 1 deletions

View File

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

View File

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

View File

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