diff options
author | der richter <der.richter@gmx.de> | 2024-02-27 16:55:29 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-02-28 15:52:47 +0100 |
commit | 86fa9b18a3619a379a597ca0902c23dc053cafc0 (patch) | |
tree | f187f85a97744bd0468290975e5ec4d10054b25b /osdep/main-fn-mac.c | |
parent | 661f45377a17635125ae36f0b8a3487ae13cf606 (diff) | |
download | mpv-86fa9b18a3619a379a597ca0902c23dc053cafc0.tar.bz2 mpv-86fa9b18a3619a379a597ca0902c23dc053cafc0.tar.xz |
osdep/mac: make mac naming of files, folders and function consistent
rename all macOS namings (osx, macosx, macOS, macos, apple) to mac, to
make naming consistent.
Diffstat (limited to 'osdep/main-fn-mac.c')
-rw-r--r-- | osdep/main-fn-mac.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/osdep/main-fn-mac.c b/osdep/main-fn-mac.c new file mode 100644 index 0000000000..356f767911 --- /dev/null +++ b/osdep/main-fn-mac.c @@ -0,0 +1,10 @@ +#include "osdep/mac/application.h" + +// This is needed because Cocoa absolutely requires creating the NSApplication +// singleton and running it in the "main" thread. It is apparently not +// possible to do this on a separate thread at all. It is not known how +// Apple managed this colossal fuckup. +int main(int argc, char *argv[]) +{ + return cocoa_main(argc, argv); +} |