diff options
| author | Martin Hořeňovský | 2017-08-29 13:51:55 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-08-29 13:51:55 +0200 |
| commit | 5932576f534ef08a3d13b0cd99464999dbe7b50b (patch) | |
| tree | 9a2e382dc711547ade17b33b5d208beb77a0995b /include/internal/catch_debugger.cpp | |
| parent | faead531518a8e9dee4eb1a516bc6ea9072bbb74 (diff) | |
| download | catch3-5932576f534ef08a3d13b0cd99464999dbe7b50b.tar.gz | |
Split writeToDebugConsole out of main path
Diffstat (limited to 'include/internal/catch_debugger.cpp')
| -rw-r--r-- | include/internal/catch_debugger.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/internal/catch_debugger.cpp b/include/internal/catch_debugger.cpp index 4d05c85a..a467e9fd 100644 --- a/include/internal/catch_debugger.cpp +++ b/include/internal/catch_debugger.cpp @@ -109,21 +109,3 @@ bool isDebuggerActive() { return false; } } #endif // Platform - -#ifdef CATCH_PLATFORM_WINDOWS - -#include "catch_windows_h_proxy.h" - - namespace Catch { - void writeToDebugConsole( std::string const& text ) { - ::OutputDebugStringA( text.c_str() ); - } - } -#else - namespace Catch { - void writeToDebugConsole( std::string const& text ) { - // !TBD: Need a version for Mac/ XCode and other IDEs - Catch::cout() << text; - } - } -#endif // Platform |