Source
xxxxxxxxxx
--- src/macosx/main.m.orig 2009-11-22 12:32:27.000000000 +1100
+++ src/macosx/main.m 2011-08-08 03:08:54.000000000 +1000
__crt0_argc = argc;
__crt0_argv = argv;
- if (!osx_bootstrap_ok()) /* not safe to use NSApplication */
+ if (!osx_bootstrap_ok()) {
+ /* not safe to use NSApplication */
call_user_main();
+ return 0;
+ }
[NSApplication sharedApplication];