Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

regen single header with __debugbreak fix

Commit
d6566f9d2fdcfe5e1329c7bc699e1e6d85559839
Author
Phil Nash ·
Parents
3d244adf225a

Files · Download .tar.gz

Changes

 single_include/catch.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index b3c17a62..3b487bb2 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -968,7 +968,7 @@ namespace Catch
         inline void BreakIntoDebugger(){}
     #endif
 
-#elif defined(CATCH_PLATFORM_WINDOWS)
+#elif defined(_MSC_VER)
     extern "C" __declspec(dllimport) int __stdcall IsDebuggerPresent();
     extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* );
     #define BreakIntoDebugger() if (IsDebuggerPresent() ) { __debugbreak(); }