diff options
| author | Martin Hořeňovský | 2017-02-10 17:12:41 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-02-10 17:12:41 +0100 |
| commit | f75a511b5c329f3bdbf759764620b923ef4267d0 (patch) | |
| tree | a2725ad3829aed07afb3556476b1228820de2c8b /include | |
| parent | ab44fb6811f1fee96fcb66ceb448602686bc5e41 (diff) | |
| download | catch3-f75a511b5c329f3bdbf759764620b923ef4267d0.tar.gz | |
Fix MSVC /analyze warning about inconsistent annotations
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_debugger.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/internal/catch_debugger.hpp b/include/internal/catch_debugger.hpp index 77ab29cc..63d476bb 100644 --- a/include/internal/catch_debugger.hpp +++ b/include/internal/catch_debugger.hpp @@ -109,7 +109,9 @@ #endif // Platform #ifdef CATCH_PLATFORM_WINDOWS - extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* ); + +#include "catch_windows_h_proxy.h" + namespace Catch { void writeToDebugConsole( std::string const& text ) { ::OutputDebugStringA( text.c_str() ); |