From bc5677db95f32294a1e2c20f1b4146df02309ac7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 25 Nov 2022 17:28:51 -0800
Subject: [PATCH] Fixed tvOS build, which is both __IOS__ and __TVOS__
---
include/SDL_platform.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/SDL_platform.h b/include/SDL_platform.h
index 71d641c0bfd9..b10b5b6fc45b 100644
--- a/include/SDL_platform.h
+++ b/include/SDL_platform.h
@@ -98,7 +98,8 @@
#if TARGET_OS_TV
#undef __TVOS__
#define __TVOS__ 1
-#elif TARGET_OS_IPHONE
+#endif
+#if TARGET_OS_IPHONE
#undef __IOS__
#define __IOS__ 1
#else