diff options
-rw-r--r-- | apps/plugins/pdbox/PDa/src/s_path.c | 8 |
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 @@ | |||
10 | * and lists of files for all purposes. | 10 | * and lists of files for all purposes. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /* #define DEBUG(x) x */ | 13 | /* #define PD_DEBUG(x) x */ |
14 | #define DEBUG(x) | 14 | #define PD_DEBUG(x) |
15 | void readsf_banana( void); /* debugging */ | 15 | void readsf_banana( void); /* debugging */ |
16 | 16 | ||
17 | #ifdef ROCKBOX | 17 | #ifdef ROCKBOX |
@@ -188,7 +188,7 @@ int open_via_path(const char *dir, const char *name, const char* ext, | |||
188 | strcat(dirresult, ext); | 188 | strcat(dirresult, ext); |
189 | sys_bashfilename(dirresult, dirresult); | 189 | sys_bashfilename(dirresult, dirresult); |
190 | 190 | ||
191 | DEBUG(post("looking for %s",dirresult)); | 191 | PD_DEBUG(post("looking for %s",dirresult)); |
192 | /* see if we can open the file for reading */ | 192 | /* see if we can open the file for reading */ |
193 | if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(bin))) >= 0) | 193 | if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(bin))) >= 0) |
194 | { | 194 | { |
@@ -246,7 +246,7 @@ static int do_open_via_helppath(const char *realname, t_namelist *listp) | |||
246 | strcat(dirresult, realname); | 246 | strcat(dirresult, realname); |
247 | sys_bashfilename(dirresult, dirresult); | 247 | sys_bashfilename(dirresult, dirresult); |
248 | 248 | ||
249 | DEBUG(post("looking for %s",dirresult)); | 249 | PD_DEBUG(post("looking for %s",dirresult)); |
250 | /* see if we can open the file for reading */ | 250 | /* see if we can open the file for reading */ |
251 | if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(0))) >= 0) | 251 | if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(0))) >= 0) |
252 | { | 252 | { |