From 710ccb7b483da9be9543ea40a99dee7fd6f8fa98 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 25 Oct 2006 10:17:57 +0000 Subject: 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 --- apps/debug_menu.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/debug_menu.c') 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 -- cgit v1.1