sdl2-compat: syms: SDL3 uses __IOS__ instead of __IPHONEOS__.

From 50b2d2b38753ad70def46225feef7a7b2cc5870e Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 24 Dec 2022 02:46:34 -0500
Subject: [PATCH] syms: SDL3 uses __IOS__ instead of __IPHONEOS__.

---
 src/dynapi/SDL_dynapi_procs.h | 6 +++---
 src/sdl3_syms.h               | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h
index 57ca32f..5469300 100644
--- a/src/dynapi/SDL_dynapi_procs.h
+++ b/src/dynapi/SDL_dynapi_procs.h
@@ -72,7 +72,7 @@ SDL_DYNAPI_PROC(int,SDL_Direct3D9GetAdapterIndex,(int a),(a),return)
 SDL_DYNAPI_PROC(IDirect3DDevice9*,SDL_RenderGetD3D9Device,(SDL_Renderer *a),(a),return)
 #endif
 
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL_DYNAPI_PROC(int,SDL_iPhoneSetAnimationCallback,(SDL_Window *a, int b, void (SDLCALL *c)(void *), void *d),(a,b,c,d),return)
 SDL_DYNAPI_PROC(void,SDL_iPhoneSetEventPump,(SDL_bool a),(a),)
 #endif
@@ -770,7 +770,7 @@ SDL_DYNAPI_PROC(int,SDL_RenderFillRectsF,(SDL_Renderer *a, const SDL_FRect *b, i
 SDL_DYNAPI_PROC(int,SDL_RenderCopyF,(SDL_Renderer *a, SDL_Texture *b, const SDL_Rect *c, const SDL_FRect *d),(a,b,c,d),return)
 SDL_DYNAPI_PROC(int,SDL_RenderCopyExF,(SDL_Renderer *a, SDL_Texture *b, const SDL_Rect *c, const SDL_FRect *d, const double e, const SDL_FPoint *f, const SDL_RendererFlip g),(a,b,c,d,e,f,g),return)
 SDL_DYNAPI_PROC(SDL_TouchDeviceType,SDL_GetTouchDeviceType,(SDL_TouchID a),(a),return)
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL_DYNAPI_PROC(int,SDL_UIKitRunApp,(int a, char *b, SDL_main_func c),(a,b,c),return)
 #endif
 SDL_DYNAPI_PROC(size_t,SDL_SIMDGetAlignment,(void),(),return)
@@ -804,7 +804,7 @@ SDL_DYNAPI_PROC(void,SDL_OnApplicationWillResignActive,(void),(),)
 SDL_DYNAPI_PROC(void,SDL_OnApplicationDidEnterBackground,(void),(),)
 SDL_DYNAPI_PROC(void,SDL_OnApplicationWillEnterForeground,(void),(),)
 SDL_DYNAPI_PROC(void,SDL_OnApplicationDidBecomeActive,(void),(),)
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL_DYNAPI_PROC(void,SDL_OnApplicationDidChangeStatusBarOrientation,(void),(),)
 #endif
 #ifdef __ANDROID__
diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index a304b3c..e4f00d8 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -61,7 +61,7 @@ SDL3_SYM_PASSTHROUGH(int,Direct3D9GetAdapterIndex,(int a),(a),return)
 SDL3_SYM_PASSTHROUGH(IDirect3DDevice9*,RenderGetD3D9Device,(SDL_Renderer *a),(a),return)
 #endif
 
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL3_SYM_PASSTHROUGH(int,iPhoneSetAnimationCallback,(SDL_Window *a, int b, void (SDLCALL *c)(void *), void *d),(a,b,c,d),return)
 SDL3_SYM_PASSTHROUGH(void,iPhoneSetEventPump,(SDL_bool a),(a),)
 #endif
@@ -738,7 +738,7 @@ SDL3_SYM_PASSTHROUGH(int,RenderFillRectsF,(SDL_Renderer *a, const SDL_FRect *b,
 SDL3_SYM_PASSTHROUGH(int,RenderCopyF,(SDL_Renderer *a, SDL_Texture *b, const SDL_Rect *c, const SDL_FRect *d),(a,b,c,d),return)
 SDL3_SYM_PASSTHROUGH(int,RenderCopyExF,(SDL_Renderer *a, SDL_Texture *b, const SDL_Rect *c, const SDL_FRect *d, const double e, const SDL_FPoint *f, const SDL_RendererFlip g),(a,b,c,d,e,f,g),return)
 SDL3_SYM_PASSTHROUGH(SDL_TouchDeviceType,GetTouchDeviceType,(SDL_TouchID a),(a),return)
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL3_SYM_PASSTHROUGH(int,UIKitRunApp,(int a, char *b, SDL_main_func c),(a,b,c),return)
 #endif
 SDL3_SYM_PASSTHROUGH(size_t,SIMDGetAlignment,(void),(),return)
@@ -772,7 +772,7 @@ SDL3_SYM_PASSTHROUGH(void,OnApplicationWillResignActive,(void),(),)
 SDL3_SYM_PASSTHROUGH(void,OnApplicationDidEnterBackground,(void),(),)
 SDL3_SYM_PASSTHROUGH(void,OnApplicationWillEnterForeground,(void),(),)
 SDL3_SYM_PASSTHROUGH(void,OnApplicationDidBecomeActive,(void),(),)
-#ifdef __IPHONEOS__
+#ifdef __IOS__
 SDL3_SYM_PASSTHROUGH(void,OnApplicationDidChangeStatusBarOrientation,(void),(),)
 #endif
 #ifdef __ANDROID__