9 lines
221 B
C
9 lines
221 B
C
|
#pragma once
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
#define _AsStr(x) #x
|
||
|
#define DebugPrintf(x, ...) _DebugPrintf(_T(__FUNCTION__) _T(": ") _T(x), __VA_ARGS__)
|
||
|
void _DebugPrintf(LPCTSTR fmt, ...);
|
||
|
#else
|
||
|
#define DebugPrintf(x, ...)
|
||
|
#endif
|