Skip to content

Commit

Permalink
Fixed building with a newer Mac OS X SDK and -mmacosx-version-min=10.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 18, 2011
1 parent d834f01 commit 02792b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cdrom/macosx/AudioFilePlayer.h
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src/video/quartz/SDL_QuartzWindow.h
Expand Up @@ -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
Expand Down

0 comments on commit 02792b1

Please sign in to comment.