Use Apple's nomenclature for macOS and iOS

Fixes https://github.com/libsdl-org/SDL/issues/6621
This commit is contained in:
Sam Lantinga 2022-11-25 16:00:06 -08:00
parent 5fb3eb9475
commit cc1f9eb983
83 changed files with 291 additions and 296 deletions

View file

@ -60,7 +60,7 @@
*/
#define SDL_MAIN_NEEDED
#elif defined(__IPHONEOS__)
#elif defined(__IOS__)
/* On iOS SDL provides a main function that creates an application delegate
and starts the iOS application run loop.
@ -224,7 +224,7 @@ extern DECLSPEC int SDLCALL SDL_WinRTRunApp(SDL_main_func mainFunction, void * r
#endif /* __WINRT__ */
#if defined(__IPHONEOS__)
#if defined(__IOS__)
/**
* Initializes and launches an SDL application.
@ -238,7 +238,7 @@ extern DECLSPEC int SDLCALL SDL_WinRTRunApp(SDL_main_func mainFunction, void * r
*/
extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction);
#endif /* __IPHONEOS__ */
#endif /* __IOS__ */
#ifdef __GDK__