Skip to content

Commit

Permalink
Fixed building with CodeWarrior on MacOS Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 11, 2006
1 parent 7d93fb8 commit 7087a9f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions test/testdyngl.c
Expand Up @@ -19,6 +19,10 @@

#include "SDL.h"

#ifdef __MACOS__
#define HAVE_OPENGL
#endif

#ifdef HAVE_OPENGL

#include "SDL_opengl.h"
Expand Down
4 changes: 4 additions & 0 deletions test/testgl.c
Expand Up @@ -5,6 +5,10 @@

#include "SDL.h"

#ifdef __MACOS__
#define HAVE_OPENGL
#endif

#ifdef HAVE_OPENGL

#include "SDL_opengl.h"
Expand Down
2 changes: 1 addition & 1 deletion test/testpalette.c
Expand Up @@ -15,7 +15,7 @@
#define M_PI 3.14159265358979323846
#endif

#include <SDL.h>
#include "SDL.h"

/* screen size */
#define SCRW 640
Expand Down

0 comments on commit 7087a9f

Please sign in to comment.