diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-10-08 18:41:11 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-10-08 18:41:11 +0000 |
commit | b76e8c09fa4f273738fb5f56d75a9dd1344ec51b (patch) | |
tree | f4450f698fcc9e4500094869bdae2d1291862b13 /firmware/export | |
parent | 1a4083d8289b12577d83da3e6a310335bc9be014 (diff) |
Fixed a problem with dircache where filetree modified dircache
structures directly. Moved #ifdef directly to SOURCES instead of
dircache.c to decide whether to compile the cache or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index f009419e50..966f47cb5a 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -120,7 +120,7 @@ /* Enable the directory cache if we have plenty of RAM. */ /* Cache is just temporarily disabled for simulator build. * Do the small fix in dircache.c to enable this. */ -#if MEM > 8 && !defined(BOOTLOADER) && !defined(SIMULATOR) +#if (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER) && !defined(SIMULATOR) #define HAVE_DIRCACHE 1 #endif |