From 8ff3a653bdf89747100389a2ee933d2e7b5efe08 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 18 Feb 2007 02:04:47 +0000 Subject: 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 --- firmware/export/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export/config.h') 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 @@ /* no known platform */ #endif +/* now set any CONFIG_ defines correctly if they are not used, + No need to do this on CONFIG_'s which are compulsary (e.g CONFIG_CODEC ) */ +#ifndef CONFIG_TUNER +#define CONFIG_TUNER 0 +#endif + /* 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) && \ -- cgit v1.2.3