2019-03-19 09:53:33 -05:00
|
|
|
/*
|
2020-11-10 12:09:59 -06:00
|
|
|
SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019
|
2019-03-19 09:53:33 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Include the SDL main definition header */
|
|
|
|
#include "SDL_main.h"
|
|
|
|
|
2022-11-25 18:00:06 -06:00
|
|
|
#if defined(__IOS__) || defined(__TVOS__)
|
2022-09-28 02:01:54 -05:00
|
|
|
|
2021-07-31 14:44:29 -05:00
|
|
|
#ifndef SDL_MAIN_HANDLED
|
2019-03-19 09:53:33 -05:00
|
|
|
#ifdef main
|
|
|
|
#undef main
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
return SDL_UIKitRunApp(argc, argv, SDL_main);
|
|
|
|
}
|
2021-07-31 14:44:29 -05:00
|
|
|
#endif /* !SDL_MAIN_HANDLED */
|
2019-03-19 09:53:33 -05:00
|
|
|
|
2022-11-25 18:00:06 -06:00
|
|
|
#endif /* __IOS__ || __TVOS__ */
|
2022-09-28 02:01:54 -05:00
|
|
|
|
2019-03-19 09:53:33 -05:00
|
|
|
/* vi: set ts=4 sw=4 expandtab: */
|