summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2008-03-09 20:33:19 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2008-03-09 20:33:19 +0000
commit6ab1c90513922212788e6abd9c426d6884b64cbe (patch)
treeabba09e88a45ad6a97d7fac8c4282b7295fb9076 /firmware/export/config.h
parent7317139eb487ce3a59f0895c8edcfb1a2c8109f7 (diff)
FS#8707 - Enable "Load to RAM" (HAS_TC_RAMCACHE) compilation without Directory Cache (HAS_DIRCACHE).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16594 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index f7f8bcb98a..208dd36d57 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -308,8 +308,10 @@
/* Enable the directory cache and tagcache in RAM if we have
* plenty of RAM. Both features can be enabled independently. */
#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \
- !defined(BOOTLOADER) && !defined(SANSA_E200) && !defined(SANSA_C200)
+ !defined(BOOTLOADER)
+#if !defined(SANSA_E200) && !defined(SANSA_C200)
#define HAVE_DIRCACHE
+#endif
#ifdef HAVE_TAGCACHE
#define HAVE_TC_RAMCACHE
#endif