summaryrefslogtreecommitdiffstats
path: root/mpvcore
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:04:47 +0200
commit0f1a871d65f74ab250d3fb07d6d8062a3bfa1e89 (patch)
tree934b13fa5a4057af954063a7915c0e2df1260545 /mpvcore
parent2e5610c23a1f43856d9554d7821c2f2ae0fe91f2 (diff)
downloadmpv-0f1a871d65f74ab250d3fb07d6d8062a3bfa1e89.tar.bz2
mpv-0f1a871d65f74ab250d3fb07d6d8062a3bfa1e89.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 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,