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. --- osdep/main-fn.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 osdep/main-fn.h (limited to 'osdep/main-fn.h') diff --git a/osdep/main-fn.h b/osdep/main-fn.h new file mode 100644 index 0000000000..8f20308c8b --- /dev/null +++ b/osdep/main-fn.h @@ -0,0 +1 @@ +int mpv_main(int argc, char *argv[]); -- cgit v1.2.3