mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
DEBUG1 on checked only
svn path=/trunk/; revision=15519
This commit is contained in:
parent
6b34120402
commit
3f0ddf5160
1 changed files with 7 additions and 6 deletions
|
@ -73,9 +73,16 @@
|
|||
#define CPRINT DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
|
||||
#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0)
|
||||
#else
|
||||
#define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
|
||||
#endif
|
||||
|
||||
#else /* DBG */
|
||||
|
||||
#define CPRINT(args...)
|
||||
#define DPRINT1(args...)
|
||||
#define assert(x)
|
||||
#define ASSERT(x)
|
||||
#define assertmsg(_c_, _m_)
|
||||
|
@ -83,12 +90,6 @@
|
|||
|
||||
#endif /* DBG */
|
||||
|
||||
#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
|
||||
#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0)
|
||||
#else
|
||||
#define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint
|
||||
#endif
|
||||
|
||||
#define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0)
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Reference in a new issue