Skip to content
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:

Attached patch fixes both of these problems.
  • Loading branch information
slouken committed Jan 6, 2012
1 parent 6a9ef50 commit 79d0d58fdd699ef96df27fc301ec0daa746a5573

File 1 of 2 in 79d0d58

@@ -37,7 +37,7 @@
#include <AudioUnit/AUNTComponent.h>

typedef SInt16 FSIORefNum;

0 comments on commit 79d0d58

Please sign in to comment.