summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-18 19:26:26 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-18 19:30:11 +0200
commitaf018f7e4fe90b058d45a8ff803af4dcf759a7ce (patch)
tree8f882aa5c55c79ca4d560117762e10effb690faf /mpvcore
parent1cb55cebf981af3983efbddccfeedc2b776ee5fd (diff)
downloadmpv-af018f7e4fe90b058d45a8ff803af4dcf759a7ce.tar.bz2
mpv-af018f7e4fe90b058d45a8ff803af4dcf759a7ce.tar.xz
macosx: move bundle path stuff to path-macosx.m
This makes the code uniform to how stuff was handled for Windows in 1cb55ceb.
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/path.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mpvcore/path.c b/mpvcore/path.c
index 73eee15567..647693fb05 100644
--- a/mpvcore/path.c
+++ b/mpvcore/path.c
@@ -39,16 +39,11 @@
#include "osdep/io.h"
#include "osdep/path.h"
-#ifdef CONFIG_COCOA
-#include "osdep/macosx_bundle.h"
-#endif
-
-
typedef char *(*lookup_fun)(const char *);
static const lookup_fun config_lookup_functions[] = {
mp_find_user_config_file,
#ifdef CONFIG_COCOA
- get_bundled_path,
+ mp_get_macosx_bundled_path,
#endif
mp_find_global_config_file,
NULL