Print Dout() and DoutEntering() debug output on windows.

This is a bit of a hack currently and requires a
recompile with -DDEBUG_CURLIO.
This commit is contained in:
Aleric Inglewood
2012-07-31 04:57:13 +02:00
parent dd47123bde
commit c9715c5b0b
6 changed files with 199 additions and 10 deletions

View File

@@ -39,7 +39,7 @@
#endif
#include <deque>
#define DEBUG_WINDOWS_CODE_ON_LINUX 0
#define DEBUG_WINDOWS_CODE_ON_LINUX 1
#if DEBUG_WINDOWS_CODE_ON_LINUX
@@ -1262,7 +1262,7 @@ MultiHandle::~MultiHandle()
delete mReadPollSet;
}
#ifdef CWDEBUG
#if defined(CWDEBUG) || defined(DEBUG_CURLIO)
#undef AI_CASE_RETURN
#define AI_CASE_RETURN(x) do { case x: return #x; } while(0)
char const* action_str(int action)