Need to use __MACOSX__ for the Mac OS X platform.
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 May 2006 07:42:02 +0000
changeset 1805 259e03cbcb5f
parent 1804 2bf1b143745b
child 1806 8baf6641cd57
Need to use __MACOSX__ for the Mac OS X platform.
src/video/maccommon/SDL_macgl_c.h
--- a/src/video/maccommon/SDL_macgl_c.h	Wed May 10 07:25:37 2006 +0000
+++ b/src/video/maccommon/SDL_macgl_c.h	Wed May 10 07:42:02 2006 +0000
@@ -26,7 +26,7 @@
 
 #if SDL_VIDEO_OPENGL
 #include "SDL_opengl.h"
-#ifdef MACOSX
+#if __MACOSX__
 #include <AGL/agl.h>   /* AGL.framework */
 #else
 #include <agl.h>