mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 13:16:43 -05:00
Better test for actual Mac OS X SDK in use.
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user