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 - Sdl 1.3.0 needs tweak to build on OSX 10.7 Lion
Summary: Sdl 1.3.0 needs tweak to build on OSX 10.7 Lion
Status: RESOLVED DUPLICATE of bug 1248
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.0
Hardware: x86 Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 13:32 UTC by Jack Jansen
Modified: 2011-07-29 10:59 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***