From aa3c676945df2e042c8963aabfea750b4afe4ec9 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 11 Jul 2010 16:46:49 +0000 Subject: pdbox: avoid making own DEBUG clash with rockbox define git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/PDa/src/s_path.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/pdbox/PDa/src/s_path.c') 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) { -- cgit v1.2.3