From 64a0fb8fd9a02a390d065c266420f8ad056bba19 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 17 Feb 2007 21:15:06 +0000 Subject: 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 --- firmware/export/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/export/config.h') 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 @@ #define BATT_LPCS355385 1550 /* iriver h10 20Gb - SKC LPCS355385 */ #define BATT_BP009 820 /* iriver H10 5/6Gb - iriver BP009 */ #define BATT_LIION830 830 /* Toshiba Gigabeat Fxx and Xxx series MK11-2740 */ +#define BATT_1AA 333 /* iRiver iFP: Alkaline, NiHM */ /* CONFIG_CHARGING */ #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ @@ -217,7 +218,7 @@ /* Enable the directory cache and tagcache in RAM if we have * plenty of RAM. Both features can be enabled independently. */ -#if (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 -- cgit v1.2.3