summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-08 21:26:36 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-08 21:26:36 +0000
commitded525e4668fd630647273691556accccd329700 (patch)
tree446a63de18800f2346901b51646d1e40b3930878 /firmware
parent89dcb1c98440e9b1baec330e05e07b85d278e0f5 (diff)
downloadrockbox-ded525e4668fd630647273691556accccd329700.tar.gz
rockbox-ded525e4668fd630647273691556accccd329700.tar.bz2
rockbox-ded525e4668fd630647273691556accccd329700.zip
Revert r27972 to fix FS#11610 (but in a way android builds still work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28050 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/filefuncs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c
index 2e3894b2c4..19b8eff612 100644
--- a/firmware/common/filefuncs.c
+++ b/firmware/common/filefuncs.c
@@ -26,6 +26,7 @@
#include "file.h"
#include "filefuncs.h"
+#ifndef __PCTOOL__
#ifdef HAVE_MULTIVOLUME
/* returns on which volume this is, and copies the reduced name
(sortof a preprocessor for volume-decorated pathnames) */
@@ -88,7 +89,9 @@ bool dir_exists(const char *path)
return true;
}
-#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
+#endif /* __PCTOOL__ */
+
+#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL))
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
{
(void)parent;