blob: b9d49bf17f57f6927fbf51bc62ae54eb15443b9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef _DEBUG_H_
#define _DEBUG_H_
#define USECONSTREAM 1
extern void InitDebug();
extern void UnInitDebug();
#ifdef _DEBUG
#ifdef USECONSTREAM
#include "ConStream.h"
#endif
#define TRACE _trace
extern void _trace(wchar_t *fmt, ...);
#else
inline void _trace(LPCTSTR, ...) { }
#define TRACE 1 ? (void)0 : _trace
#endif
#endif
|