# HG changeset patch # User Sam Lantinga # Date 1147246922 0 # Node ID 259e03cbcb5f4d07199c4957fc9f7629e8069806 # Parent 2bf1b143745b7a280b5a7d353e7dfca7b3f184e7 Need to use __MACOSX__ for the Mac OS X platform. diff -r 2bf1b143745b -r 259e03cbcb5f 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.framework */ #else #include