changeset 1815:871090feb7ad

Fixed building with CodeWarrior on MacOS Classic
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 May 2006 08:09:16 +0000
parents 1834c192d89f
children 0b627b7d1900
files test/testdyngl.c test/testgl.c test/testpalette.c
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"
--- 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"
--- 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 <SDL.h>
+#include "SDL.h"
 
 /* screen size */
 #define SCRW 640