summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-12 18:38:02 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-12 18:45:40 +0200
commitfe7fed590aa3aa5f981c6fbae7cd1689da1cad09 (patch)
tree6da8b9f834c8ee270ec070b02479b695c3740cc8 /mpvcore
parent86c05655d43083cea79a84764a3c5c114bac4eaa (diff)
downloadmpv-fe7fed590aa3aa5f981c6fbae7cd1689da1cad09.tar.bz2
mpv-fe7fed590aa3aa5f981c6fbae7cd1689da1cad09.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')
-rw-r--r--mpvcore/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/path.c b/mpvcore/path.c
index c5466b22f2..ae12f20e68 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,