Skip to content

Commit

Permalink
Doh.. __IPHONEOS__ is defined on tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 22, 2018
1 parent 74e99f7 commit 7f4860e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/SDL_config_iphoneos.h
Expand Up @@ -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 */
Expand Down

0 comments on commit 7f4860e

Please sign in to comment.