summaryrefslogtreecommitdiffstats
path: root/mpvcore/path.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-12 18:38:02 +0200
committerwm4 <wm4@nowhere>2013-09-13 22:00:44 +0200
commit42302e60376c9a9e76e8f46a21a1e584fa9b0658 (patch)
tree0c704e4ccdb67193552a46fcbf019059e1f96c92 /mpvcore/path.c
parent22bed138c1e35224bd422f1d55e182fc87f8318e (diff)
downloadmpv-42302e60376c9a9e76e8f46a21a1e584fa9b0658.tar.bz2
mpv-42302e60376c9a9e76e8f46a21a1e584fa9b0658.tar.xz
macosx: always active bundle path lookup if cocoa is active
This is not really something you want to disable anyway. If there is no bundle the code already does it's falbacks anyway.
Diffstat (limited to 'mpvcore/path.c')
-rw-r--r--mpvcore/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/path.c b/mpvcore/path.c
index b7ea7e768c..68051b701d 100644
--- a/mpvcore/path.c
+++ b/mpvcore/path.c
@@ -46,7 +46,7 @@
#include <sys/cygwin.h>
#endif
-#ifdef CONFIG_MACOSX_BUNDLE
+#ifdef CONFIG_COCOA
#include "osdep/macosx_bundle.h"
#endif
@@ -54,7 +54,7 @@
typedef char *(*lookup_fun)(const char *);
static const lookup_fun config_lookup_functions[] = {
mp_find_user_config_file,
-#ifdef CONFIG_MACOSX_BUNDLE
+#ifdef CONFIG_COCOA
get_bundled_path,
#endif
mp_find_global_config_file,