Skip to content

Commit

Permalink
Better test for actual Mac OS X SDK in use.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 18, 2011
1 parent 5f6d46d commit 0198872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/cdrom/macosx/AudioFilePlayer.h
Expand Up @@ -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

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

Expand Down

0 comments on commit 0198872

Please sign in to comment.