From 1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 May 2015 18:47:57 +0200 Subject: 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. --- player/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/main.c') diff --git a/player/main.c b/player/main.c index 641be7a289..d4feeff61c 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" -- cgit v1.2.3