summaryrefslogtreecommitdiff
path: root/src/arch/i386/lib
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-06 14:00:53 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-06 14:00:53 +0000
commitdf77f345e734e3a16548126ed0542615b6144ab6 (patch)
tree60e309e8584c1842f4cc42cacad9fe4173c4c6a8 /src/arch/i386/lib
parentda6d92ba11ced79f0e4c6c409d37d6e36d73fd91 (diff)
(trivial) fix some warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib')
-rw-r--r--src/arch/i386/lib/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/lib/exception.c b/src/arch/i386/lib/exception.c
index a3306520b4..ddf37a65eb 100644
--- a/src/arch/i386/lib/exception.c
+++ b/src/arch/i386/lib/exception.c
@@ -1,7 +1,7 @@
#include <console/console.h>
#include <string.h>
-#if CONFIG_GDB_STUB == 1
+#if defined(CONFIG_GDB_STUB) && CONFIG_GDB_STUB == 1
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers.
* At least NUM_REGBYTES*2 are needed for register packets