diff --git a/src/cdrom/macosx/AudioFilePlayer.h b/src/cdrom/macosx/AudioFilePlayer.h index b4f4d3493..f68b5a494 100644 --- a/src/cdrom/macosx/AudioFilePlayer.h +++ b/src/cdrom/macosx/AudioFilePlayer.h @@ -37,8 +37,7 @@ #include #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 diff --git a/src/video/quartz/SDL_QuartzWindow.h b/src/video/quartz/SDL_QuartzWindow.h index cd890a48b..5acf6d1bb 100644 --- a/src/video/quartz/SDL_QuartzWindow.h +++ b/src/video/quartz/SDL_QuartzWindow.h @@ -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