mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
regen single header with __debugbreak fix
This commit is contained in:
parent
3d244adf22
commit
d6566f9d2f
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user