Better test for actual Mac OS X SDK in use.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2011-09-18 02:43:59 -04:00
parent 85814cd2bc
commit bf17281c03
2 changed files with 2 additions and 4 deletions

View File

@@ -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

View File

@@ -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