We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1255

Summary: Sdl 1.3.0 needs tweak to build on OSX 10.7 Lion
Product: SDL Reporter: Jack Jansen <Jack.Jansen>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: joe.dupuis
Version: 2.0.0   
Hardware: x86   
OS: Other   

Description Jack Jansen 2011-07-25 13:32:37 UTC
To get sdl to build on MacOSX 10.7 Lion you need to remove three typedefs from include/SDL_opengl.h:

typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
typedef unsigned int GLhandleARB;

These conflict with definitions in some system OpenGL header file. I'm not familiar enough with OpenGL to suggest ifdefs that could be used to declare these typedefs or not, sorry.
Comment 1 JoƩ Dupuis 2011-07-29 10:59:28 UTC

*** This bug has been marked as a duplicate of bug 1248 ***