Doh.. __IPHONEOS__ is defined on tvOS
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Aug 2018 20:38:22 -0700
changeset 12140e1f20a3214d9
parent 12139 dde05e8ac11c
child 12141 6b61de046a2f
Doh.. __IPHONEOS__ is defined on tvOS
include/SDL_config_iphoneos.h
     1.1 --- a/include/SDL_config_iphoneos.h	Tue Aug 21 20:34:09 2018 -0700
     1.2 +++ b/include/SDL_config_iphoneos.h	Tue Aug 21 20:38:22 2018 -0700
     1.3 @@ -139,11 +139,11 @@
     1.4  #define SDL_JOYSTICK_MFI 1
     1.5  #define SDL_JOYSTICK_HIDAPI 1
     1.6  
     1.7 -#ifdef __IPHONEOS__
     1.8 +#ifdef __TVOS__
     1.9 +#define SDL_SENSOR_DUMMY    1
    1.10 +#else
    1.11  /* Enable the CoreMotion sensor driver */
    1.12  #define SDL_SENSOR_COREMOTION   1
    1.13 -#else
    1.14 -#define SDL_SENSOR_DUMMY    1
    1.15  #endif
    1.16  
    1.17  /* Enable Unix style SO loading */