diff options
Diffstat (limited to 'osdep/main-fn-mac.c')
-rw-r--r-- | osdep/main-fn-mac.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/osdep/main-fn-mac.c b/osdep/main-fn-mac.c new file mode 100644 index 0000000..1406100 --- /dev/null +++ b/osdep/main-fn-mac.c @@ -0,0 +1,7 @@ +#include "osdep/mac/app_bridge.h" + +// Cocoa absolutely requires creating the NSApplication singleton and running it on the main thread. +int main(int argc, char *argv[]) +{ + return cocoa_main(argc, argv); +} |