Better test for actual Mac OS X SDK in use.
--- a/src/cdrom/macosx/AudioFilePlayer.h Sun Sep 18 02:38:12 2011 -0400
+++ b/src/cdrom/macosx/AudioFilePlayer.h Sun Sep 18 02:43:59 2011 -0400
@@ -37,8 +37,7 @@
#include <AudioUnit/AUNTComponent.h>
#endif
-/* This typedef is included in the 10.5+ SDK headers. */
-#ifndef MAC_OS_X_VERSION_10_5
+#if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1050)
typedef SInt16 FSIORefNum;
#endif
--- a/src/video/quartz/SDL_QuartzWindow.h Sun Sep 18 02:38:12 2011 -0400
+++ b/src/video/quartz/SDL_QuartzWindow.h Sun Sep 18 02:43:59 2011 -0400
@@ -21,8 +21,7 @@
*/
#include "SDL_config.h"
-/* this is defined in the 10.5+ SDK headers
-#ifndef MAC_OS_X_VERSION_10_5
+#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1050)
typedef unsigned int NSUInteger;
#endif