mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 21:42:18 +00:00
86fa9b18a3
rename all macOS namings (osx, macosx, macOS, macos, apple) to mac, to make naming consistent.
11 lines
369 B
C
11 lines
369 B
C
#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);
|
|
}
|