diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 02:04:47 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 02:04:47 +0000 |
commit | 8ff3a653bdf89747100389a2ee933d2e7b5efe08 (patch) | |
tree | 28b9039d587f1998ae54f62d3c2317bdcc72b9d9 /firmware/export/config.h | |
parent | 1083de8e7dd9360c999dbfe08cdf5d7c1ee5c4a6 (diff) | |
download | rockbox-8ff3a653bdf89747100389a2ee933d2e7b5efe08.tar.gz rockbox-8ff3a653bdf89747100389a2ee933d2e7b5efe08.zip |
Explicilty set CONFIG_ defines to 0 which are not used.. because doing
#if defined(BLAA) && BLAA == something defeats the point of Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12378 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index b9420122e0..8519628d47 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -216,6 +216,12 @@ | |||
216 | /* no known platform */ | 216 | /* no known platform */ |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | /* now set any CONFIG_ defines correctly if they are not used, | ||
220 | No need to do this on CONFIG_'s which are compulsary (e.g CONFIG_CODEC ) */ | ||
221 | #ifndef CONFIG_TUNER | ||
222 | #define CONFIG_TUNER 0 | ||
223 | #endif | ||
224 | |||
219 | /* Enable the directory cache and tagcache in RAM if we have | 225 | /* Enable the directory cache and tagcache in RAM if we have |
220 | * plenty of RAM. Both features can be enabled independently. */ | 226 | * plenty of RAM. Both features can be enabled independently. */ |
221 | #if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \ | 227 | #if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \ |