summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-01 21:58:00 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-01 21:58:00 +0000
commit4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77 (patch)
treec18a22bcba88719703323166137f343954c85a17
parenteac36d5a097c0c91ba7204cccc6001bf5bec2513 (diff)
downloadrockbox-4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77.tar.gz
rockbox-4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77.tar.bz2
rockbox-4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77.zip
Fix database
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27971 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/common/filefuncs.c5
-rw-r--r--tools/database/SOURCES1
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c
index ea5984e485..21096dac3c 100644
--- a/firmware/common/filefuncs.c
+++ b/firmware/common/filefuncs.c
@@ -89,11 +89,10 @@ bool dir_exists(const char *path)
return true;
}
-#if !(CONFIG_PLATFORM & PLATFORM_ANDROID)
+#endif /* __PCTOOL__ */
+
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
{
(void)parent;
return entry->info;
}
-#endif
-#endif /* __PCTOOL__ */
diff --git a/tools/database/SOURCES b/tools/database/SOURCES
index e66ea603e1..0abfce61ff 100644
--- a/tools/database/SOURCES
+++ b/tools/database/SOURCES
@@ -8,6 +8,7 @@ database.c
../../apps/mp3data.c
../../apps/tagcache.c
../../firmware/common/crc32.c
+../../firmware/common/filefuncs.c
../../firmware/common/strlcpy.c
../../firmware/common/strcasestr.c
../../firmware/common/structec.c