Fixed building with an older SDK and macOS target

This commit is contained in:
Sam Lantinga
2020-11-23 22:59:22 -08:00
parent 1fc5ca6484
commit 1e943e2ad2
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@
#include "../../events/SDL_events_c.h"
#endif
#if !TARGET_OS_TV && !TARGET_OS_OSX
#if TARGET_OS_IOS
#define SDL_JOYSTICK_iOS_ACCELEROMETER
#import <CoreMotion/CoreMotion.h>
#endif