From 7f4860e2be573ef267939eaf2300f3cfe6880206 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Aug 2018 20:38:22 -0700 Subject: [PATCH] Doh.. __IPHONEOS__ is defined on tvOS --- include/SDL_config_iphoneos.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index e76a3f0495bb5..a0d4f52384d7e 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 */