mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user