diff options
author | Michael Brown <mcb30@etherboot.org> | 2005-04-17 10:25:06 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2005-04-17 10:25:06 +0000 |
commit | 063140864e0635e6f57ba5af2f3bc4154b61e583 (patch) | |
tree | 274edbf7d86972b90d0c46872444a3e5df2c08b6 /src/include/compiler.h | |
parent | ae36de3d8059fa34ee9df8cad160d7895b43782b (diff) | |
download | ipxe-063140864e0635e6f57ba5af2f3bc4154b61e583.tar.gz |
Automatically drag in console.h if DBG() is being defined as printf().
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r-- | src/include/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h index 82aea0e32..58422d65c 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" ); |