mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
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 */
|