diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-21 10:11:53 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-21 10:11:53 +0000 |
commit | c80bc292b555c6666930790c399f6fac6226c468 (patch) | |
tree | 83a5cf2be27d2751f668ab1ef1ec051b8053d3df /protocols/Skype/debug.h | |
parent | c11a4fe35d96f7f118a7286292bc33971180972b (diff) |
Skype and IMO2sProxy added, not adapted yet
git-svn-id: http://svn.miranda-ng.org/main/trunk@1091 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/debug.h')
-rw-r--r-- | protocols/Skype/debug.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/protocols/Skype/debug.h b/protocols/Skype/debug.h new file mode 100644 index 0000000000..9582246251 --- /dev/null +++ b/protocols/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
+
|