summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-11 16:46:49 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-11 16:46:49 +0000
commitaa3c676945df2e042c8963aabfea750b4afe4ec9 (patch)
tree4141faf49f9403ac0406cba9ecf6b757240029a1
parent9122e525cc40a18bffce3d6c347030a65cec4fbc (diff)
downloadrockbox-aa3c676945df2e042c8963aabfea750b4afe4ec9.tar.gz
rockbox-aa3c676945df2e042c8963aabfea750b4afe4ec9.zip
pdbox: avoid making own DEBUG clash with rockbox define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/pdbox/PDa/src/s_path.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/pdbox/PDa/src/s_path.c b/apps/plugins/pdbox/PDa/src/s_path.c
index 560cb932e8..5673481459 100644
--- a/apps/plugins/pdbox/PDa/src/s_path.c
+++ b/apps/plugins/pdbox/PDa/src/s_path.c
@@ -10,8 +10,8 @@
* and lists of files for all purposes.
*/
-/* #define DEBUG(x) x */
-#define DEBUG(x)
+/* #define PD_DEBUG(x) x */
+#define PD_DEBUG(x)
void readsf_banana( void); /* debugging */
#ifdef ROCKBOX
@@ -188,7 +188,7 @@ int open_via_path(const char *dir, const char *name, const char* ext,
strcat(dirresult, ext);
sys_bashfilename(dirresult, dirresult);
- DEBUG(post("looking for %s",dirresult));
+ PD_DEBUG(post("looking for %s",dirresult));
/* see if we can open the file for reading */
if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(bin))) >= 0)
{
@@ -246,7 +246,7 @@ static int do_open_via_helppath(const char *realname, t_namelist *listp)
strcat(dirresult, realname);
sys_bashfilename(dirresult, dirresult);
- DEBUG(post("looking for %s",dirresult));
+ PD_DEBUG(post("looking for %s",dirresult));
/* see if we can open the file for reading */
if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(0))) >= 0)
{