summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 21:31:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 21:31:17 +0000
commit0db847071fc5a0799a9cd7b025d237d151d2870e (patch)
tree445b11d1367b483195a154dc14958fa289f0a71f
parent64a0fb8fd9a02a390d065c266420f8ad056bba19 (diff)
downloadrockbox-0db847071fc5a0799a9cd7b025d237d151d2870e.zip
rockbox-0db847071fc5a0799a9cd7b025d237d151d2870e.tar.gz
rockbox-0db847071fc5a0799a9cd7b025d237d151d2870e.tar.bz2
rockbox-0db847071fc5a0799a9cd7b025d237d151d2870e.tar.xz
repair the condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12358 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 6a5c881..4a25b91 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -218,7 +218,8 @@
/* 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)
+#if (!defined(MEMORYSIZE) || (MEMORYSIZE > 8) || (MEM > 8)) && \
+ !defined(BOOTLOADER)
#define HAVE_DIRCACHE
#ifdef HAVE_TAGCACHE
#define HAVE_TC_RAMCACHE