summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
commit64a0fb8fd9a02a390d065c266420f8ad056bba19 (patch)
tree4aaf4ff5fcb83c41d132fe5a0c1e639fa7f9252b /firmware/export/config.h
parentab0752c9c05eb1135e9d548e3fab36d13b75ebb9 (diff)
downloadrockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.tar.gz
rockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.zip
avoid using #if on undefined symbols, in preparation for -Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-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 4d7a3aecdf..6a5c881013 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -77,6 +77,7 @@
77#define BATT_LPCS355385 1550 /* iriver h10 20Gb - SKC LPCS355385 */ 77#define BATT_LPCS355385 1550 /* iriver h10 20Gb - SKC LPCS355385 */
78#define BATT_BP009 820 /* iriver H10 5/6Gb - iriver BP009 */ 78#define BATT_BP009 820 /* iriver H10 5/6Gb - iriver BP009 */
79#define BATT_LIION830 830 /* Toshiba Gigabeat Fxx and Xxx series MK11-2740 */ 79#define BATT_LIION830 830 /* Toshiba Gigabeat Fxx and Xxx series MK11-2740 */
80#define BATT_1AA 333 /* iRiver iFP: Alkaline, NiHM */
80 81
81/* CONFIG_CHARGING */ 82/* CONFIG_CHARGING */
82#define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ 83#define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */
@@ -217,7 +218,7 @@
217 218
218/* Enable the directory cache and tagcache in RAM if we have 219/* Enable the directory cache and tagcache in RAM if we have
219 * plenty of RAM. Both features can be enabled independently. */ 220 * plenty of RAM. Both features can be enabled independently. */
220#if (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER) 221#if defined(MEMORYSIZE) && (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER)
221#define HAVE_DIRCACHE 222#define HAVE_DIRCACHE
222#ifdef HAVE_TAGCACHE 223#ifdef HAVE_TAGCACHE
223#define HAVE_TC_RAMCACHE 224#define HAVE_TC_RAMCACHE