mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-10-07 09:33:28 +00:00
Stop calling __NSInitializeProcess explicitly
We're going to make it a constructor instead; this way it will get called even if the app doesn't use NSApplicationMain().
This commit is contained in:
parent
3edd291389
commit
99d231c295
@ -1326,7 +1326,9 @@ standardAboutPanel] retain];
|
||||
|
||||
|
||||
int NSApplicationMain(int argc, const char *argv[]) {
|
||||
#ifndef DARLING
|
||||
__NSInitializeProcess(argc, argv);
|
||||
#endif
|
||||
|
||||
NSAutoreleasePool *pool=[NSAutoreleasePool new];
|
||||
NSBundle *bundle=[NSBundle mainBundle];
|
||||
|
Loading…
Reference in New Issue
Block a user