diff get_path.c @ 27397:d47744b95b78

Give a CONFIG_ prefix to preprocessor directives that lacked one and change arbitrary prefixes to CONFIG_.
author diego
date Thu, 07 Aug 2008 12:20:50 +0000
parents e7c989f7a7c9
children a593f936d330
line wrap: on
line diff
--- a/get_path.c	Thu Aug 07 11:58:37 2008 +0000
+++ b/get_path.c	Thu Aug 07 12:20:50 2008 +0000
@@ -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 @@
 	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 @@
 		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());