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:
parent
1c90ab40eb
commit
058f9db949
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue