Skip to content
Permalink
Browse files
Fixed building with a newer Mac OS X SDK and -mmacosx-version-min=10.4.
  • Loading branch information
icculus committed Sep 18, 2011
1 parent d834f01 commit 02792b1816530e566552c4e5bfb5d4f707e42d88
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/cdrom/macosx/AudioFilePlayer.h
  2. +2 −1 src/video/quartz/SDL_QuartzWindow.h
@@ -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

0 comments on commit 02792b1

Please sign in to comment.