Fixed building with a newer Mac OS X SDK and -mmacosx-version-min=10.4.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2011-09-18 02:00:39 -04:00
parent ffe59e1228
commit ad2f5f3539
2 changed files with 4 additions and 2 deletions

View File

@@ -37,7 +37,8 @@
#include <AudioUnit/AUNTComponent.h>
#endif
#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
/* This typedef is included in the 10.5+ SDK headers. */
#ifndef MAC_OS_X_VERSION_10_5
typedef SInt16 FSIORefNum;
#endif

View File

@@ -21,7 +21,8 @@
*/
#include "SDL_config.h"
#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
/* this is defined in the 10.5+ SDK headers
#ifndef MAC_OS_X_VERSION_10_5
typedef unsigned int NSUInteger;
#endif