mirror of https://github.com/encounter/SDL.git
Doh.. __IPHONEOS__ is defined on tvOS
This commit is contained in:
parent
74e99f7416
commit
7f4860e2be
|
@ -139,11 +139,11 @@
|
||||||
#define SDL_JOYSTICK_MFI 1
|
#define SDL_JOYSTICK_MFI 1
|
||||||
#define SDL_JOYSTICK_HIDAPI 1
|
#define SDL_JOYSTICK_HIDAPI 1
|
||||||
|
|
||||||
#ifdef __IPHONEOS__
|
#ifdef __TVOS__
|
||||||
|
#define SDL_SENSOR_DUMMY 1
|
||||||
|
#else
|
||||||
/* 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
|
#endif
|
||||||
|
|
||||||
/* Enable Unix style SO loading */
|
/* Enable Unix style SO loading */
|
||||||
|
|
Loading…
Reference in New Issue