Permalink
File 1 of 2 in
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed bug 1363 - SDL 1.2 hg does not compile against the 10.5 SDK
Alexei Svitkine 2012-01-05 15:55:47 PST Open SDL.xcodeproject and change SDK to 10.5 and try to build. It will fail. There are two errors: 1. Incorrect SDK version check in src/cdrom/macosx/AudioFilePlayer.h, which redefines FSIORefNum. FSIORefNum is actually defined in the 10.5 SDK, but not in the 10.4 one. 2. Code in SDL_QuartzVideo.m that tries to access NSScreen's private _frame ivar, which fails to link on 64-bit. See: https://www.google.com/?q=%22_OBJC_IVAR_%24_NSScreen._frame%22 Attached patch fixes both of these problems.
- Loading branch information
File 1 of 2 in
79d0d58
Previous
Next
Previous
Next
Oops, something went wrong.