Browse Source

Automatically drag in console.h if DBG() is being defined as printf().

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
063140864e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/include/compiler.h

+ 1
- 0
src/include/compiler.h View File

@@ -45,6 +45,7 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
45 45
  */
46 46
 #define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
47 47
 #if DEBUG_SYMBOL
48
+#include "console.h"
48 49
 #define DBG(...) printf ( __VA_ARGS__ )
49 50
 #define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
50 51
 __asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );

Loading…
Cancel
Save