mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Don't use CoreMotion on tvOS
This commit is contained in:
@@ -139,8 +139,12 @@
|
|||||||
#define SDL_JOYSTICK_MFI 1
|
#define SDL_JOYSTICK_MFI 1
|
||||||
#define SDL_JOYSTICK_HIDAPI 1
|
#define SDL_JOYSTICK_HIDAPI 1
|
||||||
|
|
||||||
|
#ifdef __IPHONEOS__
|
||||||
/* Enable the CoreMotion sensor driver */
|
/* Enable the CoreMotion sensor driver */
|
||||||
#define SDL_SENSOR_COREMOTION 1
|
#define SDL_SENSOR_COREMOTION 1
|
||||||
|
#else
|
||||||
|
#define SDL_SENSOR_DUMMY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Enable Unix style SO loading */
|
/* Enable Unix style SO loading */
|
||||||
#define SDL_LOADSO_DLOPEN 1
|
#define SDL_LOADSO_DLOPEN 1
|
||||||
|
|||||||
Reference in New Issue
Block a user