diff options
author | Sam Lantinga <slouken@libsdl.org> | 2018-08-21 20:38:22 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2018-08-21 20:38:22 -0700 |
commit | accecb8ca21930ff2ce9d9ef2cefdd041f1f2563 (patch) | |
tree | ff31c7c804e60f8e49eb8a074fe746204aea4431 | |
parent | 719117bfa1243ca850f15174487a94115e9f2d69 (diff) | |
download | sdl-accecb8ca21930ff2ce9d9ef2cefdd041f1f2563.tar.gz |
Doh.. __IPHONEOS__ is defined on tvOS
-rw-r--r-- | include/SDL_config_iphoneos.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index e76a3f049..a0d4f5238 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -139,11 +139,11 @@ #define SDL_JOYSTICK_MFI 1 #define SDL_JOYSTICK_HIDAPI 1 -#ifdef __IPHONEOS__ +#ifdef __TVOS__ +#define SDL_SENSOR_DUMMY 1 +#else /* Enable the CoreMotion sensor driver */ #define SDL_SENSOR_COREMOTION 1 -#else -#define SDL_SENSOR_DUMMY 1 #endif /* Enable Unix style SO loading */ |