mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
uikit: Don't implement main() twice for iOS static libs.
I think this was a leftover from before the two Xcode projects were merged.
This commit is contained in:
parent
940419b0a6
commit
7b5a0a9f97
@ -43,14 +43,6 @@ static int forward_argc;
|
|||||||
static char **forward_argv;
|
static char **forward_argv;
|
||||||
static int exit_status;
|
static int exit_status;
|
||||||
|
|
||||||
#if defined(SDL_MAIN_NEEDED) && !defined(IOS_DYLIB)
|
|
||||||
/* SDL is being built as a static library, include main() */
|
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
return SDL_UIKitRunApp(argc, argv, SDL_main);
|
|
||||||
}
|
|
||||||
#endif /* SDL_MAIN_NEEDED && !IOS_DYLIB */
|
|
||||||
|
|
||||||
int SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction)
|
int SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user