# HG changeset patch # User Sam Lantinga # Date 1147334956 0 # Node ID 871090feb7ad99964c4f0198f4eb7815ab5e51cf # Parent 1834c192d89fc8202bdd6a940886d13390780c09 Fixed building with CodeWarrior on MacOS Classic diff -r 1834c192d89f -r 871090feb7ad test/testdyngl.c --- a/test/testdyngl.c Thu May 11 06:06:21 2006 +0000 +++ b/test/testdyngl.c Thu May 11 08:09:16 2006 +0000 @@ -19,6 +19,10 @@ #include "SDL.h" +#ifdef __MACOS__ +#define HAVE_OPENGL +#endif + #ifdef HAVE_OPENGL #include "SDL_opengl.h" diff -r 1834c192d89f -r 871090feb7ad test/testgl.c --- a/test/testgl.c Thu May 11 06:06:21 2006 +0000 +++ b/test/testgl.c Thu May 11 08:09:16 2006 +0000 @@ -5,6 +5,10 @@ #include "SDL.h" +#ifdef __MACOS__ +#define HAVE_OPENGL +#endif + #ifdef HAVE_OPENGL #include "SDL_opengl.h" diff -r 1834c192d89f -r 871090feb7ad test/testpalette.c --- a/test/testpalette.c Thu May 11 06:06:21 2006 +0000 +++ b/test/testpalette.c Thu May 11 08:09:16 2006 +0000 @@ -15,7 +15,7 @@ #define M_PI 3.14159265358979323846 #endif -#include +#include "SDL.h" /* screen size */ #define SCRW 640