summaryrefslogtreecommitdiff
path: root/src/events/SDL_mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/SDL_mouse.c')
-rw-r--r--src/events/SDL_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
index ca92f2f4b3..7799df7978 100644
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.c
@@ -114,7 +114,7 @@ SDL_MouseTouchEventsChanged(void *userdata, const char *name, const char *oldVal
if (hint == NULL || *hint == '\0') {
/* Default */
-#if defined(__ANDROID__)
+#if defined(__ANDROID__) || (defined(__IPHONEOS__) && !defined(__TVOS__))
mouse->mouse_touch_events = SDL_TRUE;
#else
mouse->mouse_touch_events = SDL_FALSE;