mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 18:40:59 +00:00
Fix macro to be optimized out, thanks to Filip
svn path=/trunk/; revision=16554
This commit is contained in:
parent
a56f2840b3
commit
698dee2b87
|
@ -20,7 +20,7 @@ unsigned long DbgPrint(char *Format,...);
|
|||
#endif
|
||||
|
||||
#if !defined(DBG) || !defined(YDEBUG)
|
||||
#define DPRINT(...) do { DbgPrint(__VA_ARGS__); } while(0)
|
||||
#define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#else
|
||||
#define DPRINT DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue