From b880db8491271b4bd4aa87c2dd79b5e3c3dde6cf Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 17 Nov 2011 18:46:23 +0000 Subject: added: ieview, imo2sproxy, skype git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- skype/debug.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 skype/debug.h (limited to 'skype/debug.h') diff --git a/skype/debug.h b/skype/debug.h new file mode 100644 index 0000000..9582246 --- /dev/null +++ b/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