diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-07 12:20:50 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-07 12:20:50 +0000 |
commit | e0b1c9a6b772683af9cb2a4f555cec1c5aa56afb (patch) | |
tree | cfbb85cfa216f0e80749850c4829308ce024d93f /get_path.c | |
parent | 7377a6a60aad8e52fde392bbb42a41cf96937abe (diff) | |
download | mpv-e0b1c9a6b772683af9cb2a4f555cec1c5aa56afb.tar.bz2 mpv-e0b1c9a6b772683af9cb2a4f555cec1c5aa56afb.tar.xz |
Give a CONFIG_ prefix to preprocessor directives that lacked one and
change arbitrary prefixes to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.c')
-rw-r--r-- | get_path.c | 6 |
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()); |