mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-01-21 07:40:48 +00:00
don't require Windows.h for the ASSERT_OR_DIE macro
This commit is contained in:
parent
19aad64607
commit
f9103b4d52
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ void Sys_Crash( const char* message, const char* file, int line, const char* fun
|
|||
#define ASSERT_OR_DIE(Condition, Message) \
|
||||
do { \
|
||||
if (!(Condition)) { \
|
||||
if (IsDebuggerPresent()) \
|
||||
if (Sys_IsDebuggerAttached()) \
|
||||
__debugbreak(); \
|
||||
else \
|
||||
Sys_Crash(Message, __FILE__, __LINE__, __FUNCTION__); \
|
||||
|
|
Loading…
Reference in a new issue