From 063140864e0635e6f57ba5af2f3bc4154b61e583 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 17 Apr 2005 10:25:06 +0000 Subject: [PATCH] Automatically drag in console.h if DBG() is being defined as printf(). --- src/include/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/compiler.h b/src/include/compiler.h index 82aea0e3..58422d65 100644 --- a/src/include/compiler.h +++ b/src/include/compiler.h @@ -45,6 +45,7 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" ); */ #define DEBUG_SYMBOL _H2 ( debug_, OBJECT ) #if DEBUG_SYMBOL +#include "console.h" #define DBG(...) printf ( __VA_ARGS__ ) #define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL ) __asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );