summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/include/SDL_config_iphoneos.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-31 18:38:35 +0800
committerchai <chaifix@163.com>2019-01-31 18:38:35 +0800
commit2ec55fd974a63b705a4777c256d2222c874fa043 (patch)
tree48f1fea59ee9fc713a28a9aac3f05b98dc5ae66f /Source/3rdParty/SDL2/include/SDL_config_iphoneos.h
parentc581dfbf1e849f393861d15e82aa6446c0c1c310 (diff)
*SDL project
Diffstat (limited to 'Source/3rdParty/SDL2/include/SDL_config_iphoneos.h')
-rw-r--r--Source/3rdParty/SDL2/include/SDL_config_iphoneos.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/3rdParty/SDL2/include/SDL_config_iphoneos.h b/Source/3rdParty/SDL2/include/SDL_config_iphoneos.h
index 7b0a6ca..56e2b43 100644
--- a/Source/3rdParty/SDL2/include/SDL_config_iphoneos.h
+++ b/Source/3rdParty/SDL2/include/SDL_config_iphoneos.h
@@ -99,6 +99,8 @@
#define HAVE_COPYSIGNF 1
#define HAVE_COS 1
#define HAVE_COSF 1
+#define HAVE_EXP 1
+#define HAVE_EXPF 1
#define HAVE_FABS 1
#define HAVE_FABSF 1
#define HAVE_FLOOR 1
@@ -135,6 +137,14 @@
/* Enable MFi joystick support */
#define SDL_JOYSTICK_MFI 1
+/*#define SDL_JOYSTICK_HIDAPI 1*/
+
+#ifdef __TVOS__
+#define SDL_SENSOR_DUMMY 1
+#else
+/* Enable the CoreMotion sensor driver */
+#define SDL_SENSOR_COREMOTION 1
+#endif
/* Enable Unix style SO loading */
#define SDL_LOADSO_DLOPEN 1