[c-host] provide a platform agnostic method of passing args to app_main

This commit is contained in:
Geoffrey McRae
2019-05-09 19:30:09 +10:00
parent fc907b802f
commit 4617829d41
5 changed files with 63 additions and 30 deletions

View File

@@ -256,7 +256,7 @@ static bool captureRestart()
return true;
}
int app_main()
int app_main(int argc, char * argv[])
{
if (!installCrashHandler(os_getExecutable()))
DEBUG_WARN("Failed to install the crash handler");