include/SDL_platform.h
changeset 7507 885b4aab4190
parent 7498 bda3639deecc
child 7677 871d43c6968a
child 8477 ad08f0d710f3
     1.1 --- a/include/SDL_platform.h	Tue Jul 23 12:59:29 2013 -0700
     1.2 +++ b/include/SDL_platform.h	Tue Jul 23 17:38:59 2013 -0700
     1.3 @@ -83,6 +83,12 @@
     1.4  /* if not compiling for iPhone */
     1.5  #undef __MACOSX__
     1.6  #define __MACOSX__  1
     1.7 +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
     1.8 +# error SDL for Mac OS X only supports deploying on 10.5 and above.
     1.9 +#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1050 */
    1.10 +#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
    1.11 +# error SDL for Mac OS X must be built with a 10.6 SDK or above.
    1.12 +#endif /* MAC_OS_X_VERSION_MAX_ALLOWED < 1060 */
    1.13  #endif /* TARGET_OS_IPHONE */
    1.14  #endif /* defined(__APPLE__) */
    1.15