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

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

No files matched your search

+1 -1
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");