From 74e99f741678d537d27f247e8caa21f32818dfd1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Aug 2018 20:34:09 -0700 Subject: [PATCH] Don't use CoreMotion on tvOS --- include/SDL_config_iphoneos.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 2ea4c9222119c..e76a3f0495bb5 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -139,8 +139,12 @@ #define SDL_JOYSTICK_MFI 1 #define SDL_JOYSTICK_HIDAPI 1 +#ifdef __IPHONEOS__ /* Enable the CoreMotion sensor driver */ #define SDL_SENSOR_COREMOTION 1 +#else +#define SDL_SENSOR_DUMMY 1 +#endif /* Enable Unix style SO loading */ #define SDL_LOADSO_DLOPEN 1