mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix HS_DEBUGGING for non-MSVC compilers.
This commit is contained in:
@ -119,7 +119,7 @@ void ErrorAssert(int line, const char* file, const char* fmt, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vsnprintf(msg, arrsize(msg), fmt, args);
|
vsnprintf(msg, arrsize(msg), fmt, args);
|
||||||
#ifdef HS_DEBUGGING
|
#if defined(HS_DEBUGGING) && defined(_MSC_VER)
|
||||||
if (s_GuiAsserts)
|
if (s_GuiAsserts)
|
||||||
{
|
{
|
||||||
if(_CrtDbgReport(_CRT_ASSERT, file, line, NULL, msg))
|
if(_CrtDbgReport(_CRT_ASSERT, file, line, NULL, msg))
|
||||||
|
Reference in New Issue
Block a user