include/SDL_platform.h
changeset 4925 514f811a4887
parent 4696 3a3e8fb1b6f4
child 5062 e8916fe9cfc8
     1.1 --- a/include/SDL_platform.h	Wed Dec 01 12:22:29 2010 -0800
     1.2 +++ b/include/SDL_platform.h	Wed Dec 01 12:23:16 2010 -0800
     1.3 @@ -74,8 +74,16 @@
     1.4  #if defined(__APPLE__)
     1.5  /* lets us know what version of Mac OS X we're compiling on */
     1.6  #include "AvailabilityMacros.h"
     1.7 -#ifdef MAC_OS_X_VERSION_10_3
     1.8 -#include "TargetConditionals.h" /* this header is in 10.3 or later */
     1.9 +#include "TargetConditionals.h"
    1.10 +#ifndef MAC_OS_X_VERSION_10_4
    1.11 +#define MAC_OS_X_VERSION_10_4 1040
    1.12 +#endif
    1.13 +#ifndef MAC_OS_X_VERSION_10_5
    1.14 +#define MAC_OS_X_VERSION_10_5 1050
    1.15 +#endif
    1.16 +#ifndef MAC_OS_X_VERSION_10_6
    1.17 +#define MAC_OS_X_VERSION_10_6 1060
    1.18 +#endif
    1.19  #if TARGET_OS_IPHONE
    1.20  /* if compiling for iPhone */
    1.21  #undef __IPHONEOS__
    1.22 @@ -86,12 +94,6 @@
    1.23  #undef __MACOSX__
    1.24  #define __MACOSX__	1
    1.25  #endif /* TARGET_OS_IPHONE */
    1.26 -#else
    1.27 -/* if earlier verion of Mac OS X than version 10.3 */
    1.28 -#undef __MACOSX__
    1.29 -#define __MACOSX__	1
    1.30 -#endif
    1.31 -
    1.32  #endif /* defined(__APPLE__) */
    1.33  
    1.34  #if defined(__NetBSD__)