Fixed building with CodeWarrior on MacOS Classic
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401776
This commit is contained in:
parent
f766db82dc
commit
76685b8056
3 changed files with 9 additions and 1 deletions
|
@ -19,6 +19,10 @@
|
|||
|
||||
#include "SDL.h"
|
||||
|
||||
#ifdef __MACOS__
|
||||
#define HAVE_OPENGL
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
|
||||
#include "SDL_opengl.h"
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
#include "SDL.h"
|
||||
|
||||
#ifdef __MACOS__
|
||||
#define HAVE_OPENGL
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
|
||||
#include "SDL_opengl.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#include <SDL.h>
|
||||
#include "SDL.h"
|
||||
|
||||
/* screen size */
|
||||
#define SCRW 640
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue