Need to use __MACOSX__ for the Mac OS X platform.

This commit is contained in:
Sam Lantinga
2006-05-10 07:42:02 +00:00
parent b775d4c6b8
commit 86c3375829

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>