summaryrefslogtreecommitdiff
path: root/apps/debug_menu.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/debug_menu.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/debug_menu.c')
-rw-r--r--apps/debug_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 5243519..806744b 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -41,7 +41,9 @@
#include "misc.h"
#include "splash.h"
#include "dircache.h"
+#ifdef HAVE_TAGCACHE
#include "tagcache.h"
+#endif
#include "lcd-remote.h"
#include "crc32.h"
#include "logf.h"
@@ -1917,6 +1919,7 @@ static bool dbg_dircache_info(void)
#endif /* HAVE_DIRCACHE */
#ifdef HAVE_LCD_BITMAP
+#ifdef HAVE_TAGCACHE
static bool dbg_tagcache_info(void)
{
bool done = false;
@@ -1960,6 +1963,7 @@ static bool dbg_tagcache_info(void)
return false;
}
#endif
+#endif
#if CONFIG_CPU == SH7034
bool dbg_save_roms(void)
@@ -2193,7 +2197,9 @@ bool debug_menu(void)
{ "View dircache info", dbg_dircache_info },
#endif
#ifdef HAVE_LCD_BITMAP
+#ifdef HAVE_TAGCACHE
{ "View tagcache info", dbg_tagcache_info },
+#endif
#if CONFIG_CODEC == SWCODEC || !defined(SIMULATOR)
{ "View audio thread", dbg_audio_thread },
#endif