blob: 55bb8719e50d259aa5d41653b242ff849fbb051b (
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(TCHAR *fmt, ...);
#else
inline void _trace(LPCTSTR, ...) { }
#define TRACE 1 ? (void)0 : _trace
#endif
#endif
|