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
Fixed a compiler error when on a Mac with DEBUG not defined, which resulted in an undefined BreakIntoDebugger()
- Commit
55c63af8aef890efeb1b68cbf2ae82745c1760f8- Author
- Matt Rubin ·
- Parents
a8c31c725daf
Changes
internal/catch_debugger.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/catch_debugger.hpp b/internal/catch_debugger.hpp index dc3aec24..5623e48e 100644 --- a/internal/catch_debugger.hpp +++ b/internal/catch_debugger.hpp @@ -76,6 +76,8 @@ #else #define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );} #endif + #else + #define BreakIntoDebugger() #endif #elif defined(__WIN32__) && defined(_MSC_VER)