include/SDL_platform.h
changeset 10340 5724f5087acd
parent 10176 3115d38204aa
child 10638 d11daa346140
     1.1 --- a/include/SDL_platform.h	Tue Sep 13 19:51:10 2016 -0300
     1.2 +++ b/include/SDL_platform.h	Tue Sep 13 22:18:06 2016 -0300
     1.3 @@ -70,13 +70,17 @@
     1.4  /* lets us know what version of Mac OS X we're compiling on */
     1.5  #include "AvailabilityMacros.h"
     1.6  #include "TargetConditionals.h"
     1.7 +#if TARGET_OS_TV
     1.8 +#undef __TVOS__
     1.9 +#define __TVOS__ 1
    1.10 +#endif
    1.11  #if TARGET_OS_IPHONE
    1.12 -/* if compiling for iPhone */
    1.13 +/* if compiling for iOS */
    1.14  #undef __IPHONEOS__
    1.15  #define __IPHONEOS__ 1
    1.16  #undef __MACOSX__
    1.17  #else
    1.18 -/* if not compiling for iPhone */
    1.19 +/* if not compiling for iOS */
    1.20  #undef __MACOSX__
    1.21  #define __MACOSX__  1
    1.22  #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060