# HG changeset patch # User Sam Lantinga # Date 1144852625 0 # Node ID e79e4c5e531b4943c5d03f35698484fcb1109dac # Parent 3b08574f4c601dd07c0fe30f2947dcec2de1d28a From Anders F Bjorklund: When switching to "UNIX-style paths" as needed for the new includes, including and doesn't work anymore on Mac OS... The two headers are really located in the OpenGL SDK 1.2 CFM like this: OpenGL:Headers:gl.h OpenGL:Headers:glu.h There are also some compat copies, that *used* to work with Mac paths: OpenGL:Headers:GL/gl.h OpenGL:Headers:GL/glu.h The easiest fix is to make SDL_opengl.h include the proper header names, by adding a special case for the MACOS platform in addition to the MACOSX diff -r 3b08574f4c60 -r e79e4c5e531b include/SDL_opengl.h --- a/include/SDL_opengl.h Wed Apr 12 14:25:29 2006 +0000 +++ b/include/SDL_opengl.h Wed Apr 12 14:37:05 2006 +0000 @@ -37,6 +37,9 @@ #if defined(__MACOSX__) #include /* Header File For The OpenGL Library */ #include /* Header File For The GLU Library */ +#elif defined(__MACOS__) +#include /* Header File For The OpenGL Library */ +#include /* Header File For The GLU Library */ #else #include /* Header File For The OpenGL Library */ #include /* Header File For The GLU Library */