mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Automatically drag in console.h if DBG() is being defined as printf().
This commit is contained in:
parent
ae36de3d80
commit
063140864e
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user