summaryrefslogtreecommitdiff
path: root/firmware/common/filefuncs.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-01 22:06:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-01 22:06:03 +0000
commita4264eb89a21a3c9cc765df76ce293cfd3e73a49 (patch)
treed56cb8b8e73a18cdb883d6fb3f757a8203b60a31 /firmware/common/filefuncs.c
parent4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77 (diff)
downloadrockbox-a4264eb89a21a3c9cc765df76ce293cfd3e73a49.zip
rockbox-a4264eb89a21a3c9cc765df76ce293cfd3e73a49.tar.gz
rockbox-a4264eb89a21a3c9cc765df76ce293cfd3e73a49.tar.bz2
rockbox-a4264eb89a21a3c9cc765df76ce293cfd3e73a49.tar.xz
Redo previous commit to not break android builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/filefuncs.c')
-rw-r--r--firmware/common/filefuncs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c
index 21096da..2e3894b 100644
--- a/firmware/common/filefuncs.c
+++ b/firmware/common/filefuncs.c
@@ -54,7 +54,6 @@ int strip_volume(const char* name, char* namecopy)
}
#endif /* #ifdef HAVE_MULTIVOLUME */
-#ifndef __PCTOOL__
/* Test file existence, using dircache of possible */
bool file_exists(const char *file)
{
@@ -89,10 +88,10 @@ bool dir_exists(const char *path)
return true;
}
-#endif /* __PCTOOL__ */
-
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
{
(void)parent;
return entry->info;
}
+#endif