Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_debugger.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-08-29 13:51:55 +0200
committerMartin Hořeňovský2017-08-29 13:51:55 +0200
commit5932576f534ef08a3d13b0cd99464999dbe7b50b (patch)
tree9a2e382dc711547ade17b33b5d208beb77a0995b /include/internal/catch_debugger.cpp
parentfaead531518a8e9dee4eb1a516bc6ea9072bbb74 (diff)
downloadcatch3-5932576f534ef08a3d13b0cd99464999dbe7b50b.tar.gz
Split writeToDebugConsole out of main path
Diffstat (limited to 'include/internal/catch_debugger.cpp')
-rw-r--r--include/internal/catch_debugger.cpp18
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