From cd4aabcece8b62a63ca7c287e3184c285c40e05b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 12 Apr 2006 14:37:05 +0000 Subject: [PATCH] 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 --- include/SDL_opengl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index a9539c3ce..36c0a3099 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -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 */