From 89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 23 Jul 2012 13:52:57 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- !NotAdopted/Skype/debug.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 !NotAdopted/Skype/debug.h (limited to '!NotAdopted/Skype/debug.h') diff --git a/!NotAdopted/Skype/debug.h b/!NotAdopted/Skype/debug.h new file mode 100644 index 0000000000..9582246251 --- /dev/null +++ b/!NotAdopted/Skype/debug.h @@ -0,0 +1,23 @@ +//#define DEBUG_RELEASE 1 + +#ifdef DEBUG_RELEASE + #define _DEBUG 1 +#endif + +#ifdef _DEBUG + void init_debug(void); + void end_debug (void); + void do_log(const char *pszFormat, ...); + #define DEBUG_OUT(a) OUTPUT(a) + #define TRACE(a) OutputDebugString(a) + #define TRACEA(a) OutputDebugStringA(a) + #define TRACEW(a) OutputDebugStringW(a) + #define LOG(a) do_log a +#else + #define DEBUG_OUT(a) + #define LOG(a) + #define TRACE(a) + #define TRACEA(a) + #define TRACEW(a) +#endif + -- cgit v1.2.3