mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
regen single header with __debugbreak fix
This commit is contained in:
@@ -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(); }
|
||||
|
Reference in New Issue
Block a user