diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-11 16:46:49 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-11 16:46:49 +0000 |
commit | aa3c676945df2e042c8963aabfea750b4afe4ec9 (patch) | |
tree | 4141faf49f9403ac0406cba9ecf6b757240029a1 /apps | |
parent | 9122e525cc40a18bffce3d6c347030a65cec4fbc (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-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 | { |