summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/LCDFramework/src/debug.h
blob: 39e34ebaaec86fe06ee3b399acb977d187e2fe90 (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 fmt, ...) { }
#define TRACE  1 ? (void)0 : _trace
#endif

#endif