mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
16 lines
526 B
C
16 lines
526 B
C
#ifdef NDEBUG
|
|
#define DPRINT(...)
|
|
#define CHECKPOINT
|
|
#else
|
|
#define DPRINT(...) do { DebugPrint("(SAMLIB:%s:%d) ",__FILE__,__LINE__); DebugPrint(__VA_ARGS__); } while(0)
|
|
#define CHECKPOINT do { DebugPrint("(SAMLIB:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0)
|
|
#endif
|
|
|
|
#define DPRINT1(...) do { DebugPrint("(SAMLIB:%s:%d) ",__FILE__,__LINE__); DebugPrint(__VA_ARGS__); } while(0)
|
|
#define CHECKPOINT1 do { DebugPrint("(SAMLIB:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0)
|
|
|
|
|
|
void
|
|
DebugPrint(char* fmt,...);
|
|
|
|
/* EOF */
|