Skip to content
Permalink
Browse files

Better test for actual Mac OS X SDK in use.

  • Loading branch information
icculus committed Sep 18, 2011
1 parent 5f6d46d commit 0198872a1da1d686018e58f15ce891c70bc95c8d
Showing with 2 additions and 4 deletions.
  1. +1 −2 src/cdrom/macosx/AudioFilePlayer.h
  2. +1 −2 src/video/quartz/SDL_QuartzWindow.h
@@ -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

0 comments on commit 0198872

Please sign in to comment.