summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-02 18:47:57 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:45:33 +0900
commit26e779c9aa74b84e50d4ca2ea14adf4bc1d961ac (patch)
tree6f288a39aa5a38e1144c5e16cbe2b5337882bb6c /player/main.c
parentfe19db9cc08b96c813987e937bdc6f19a6d629f9 (diff)
downloadmpv-26e779c9aa74b84e50d4ca2ea14adf4bc1d961ac.tar.bz2
mpv-26e779c9aa74b84e50d4ca2ea14adf4bc1d961ac.tar.xz
build: move main-fn files to osdep
And split the Cocoa and Unix cases. Simplify the Cocoa case slightly by calling mpv_main directly, instead of passing a function pointer. Also add a comment explaining why Cocoa needs a special case at all. (cherry picked from commit 1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6)
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index 1d56f0ceda..3719f2156a 100644
--- a/player/main.c
+++ b/player/main.c
@@ -30,6 +30,7 @@
#include "osdep/io.h"
#include "osdep/terminal.h"
#include "osdep/timer.h"
+#include "osdep/main-fn.h"
#include "common/av_log.h"
#include "common/codecs.h"