summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_path.c')
-rw-r--r--get_path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/get_path.c b/get_path.c
index b1f119e450..76a0169519 100644
--- a/get_path.c
+++ b/get_path.c
@@ -13,7 +13,7 @@
#include "mp_msg.h"
#include "get_path.h"
-#ifdef MACOSX_BUNDLE
+#ifdef CONFIG_MACOSX_BUNDLE
#include <CoreFoundation/CoreFoundation.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -38,7 +38,7 @@ char *get_path(const char *filename){
static char *config_dir = "/.mplayer";
#endif
int len;
-#ifdef MACOSX_BUNDLE
+#ifdef CONFIG_MACOSX_BUNDLE
struct stat dummy;
CFIndex maxlen=256;
CFURLRef res_url_ref=NULL;
@@ -96,7 +96,7 @@ char *get_path(const char *filename){
sprintf(buff, "%s%s/%s", homedir, config_dir, filename);
}
-#ifdef MACOSX_BUNDLE
+#ifdef CONFIG_MACOSX_BUNDLE
if (stat(buff, &dummy)) {
res_url_ref=CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle());