summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-10-25 10:17:57 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-10-25 10:17:57 +0000
commit710ccb7b483da9be9543ea40a99dee7fd6f8fa98 (patch)
treec2e06245a5c91bc1680fe3a033a44e4220fcc459 /apps/settings.c
parent22dfcdb3eca609a920787a154f758b54dd38a550 (diff)
downloadrockbox-710ccb7b483da9be9543ea40a99dee7fd6f8fa98.zip
rockbox-710ccb7b483da9be9543ea40a99dee7fd6f8fa98.tar.gz
rockbox-710ccb7b483da9be9543ea40a99dee7fd6f8fa98.tar.bz2
rockbox-710ccb7b483da9be9543ea40a99dee7fd6f8fa98.tar.xz
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 1795f78..9d618eb 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -419,7 +419,11 @@ static const struct bit_entry hd_bits[] =
/* browser */
{3, S_O(dirfilter), SHOW_SUPPORTED,
- "show files", "all,supported,music,playlists,id3 database" },
+ "show files", "all,supported,music,playlists"
+#ifdef HAVE_TAGCACHE
+ ",id3 database"
+#endif
+ },
{1, S_O(sort_case), false, "sort case", off_on },
{1, S_O(browse_current), false, "follow playlist", off_on },
/* playlist */
@@ -593,10 +597,13 @@ static const struct bit_entry hd_bits[] =
{1, S_O(dircache), false, "dircache", off_on },
{22, S_O(dircache_size), 0, NULL, NULL },
#endif
+
+#ifdef HAVE_TAGCACHE
#ifdef HAVE_TC_RAMCACHE
{1, S_O(tagcache_ram), 0, "tagcache_ram", off_on },
#endif
{1, S_O(tagcache_autoupdate), 0, "tagcache_autoupdate", off_on },
+#endif
{4, S_O(default_codepage), 0, "default codepage",
"iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8,cp1256" },