Need to use __MACOSX__ for the Mac OS X platform.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401765
This commit is contained in:
Sam Lantinga 2006-05-10 07:42:02 +00:00
parent ee2930d6da
commit 9d85d36fbd

View file

@ -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>