1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Fix HS_DEBUGGING for non-MSVC compilers.

This commit is contained in:
Darryl Pogue
2015-02-06 21:54:47 -08:00
parent 645135b015
commit 352172e41b

View File

@ -119,7 +119,7 @@ void ErrorAssert(int line, const char* file, const char* fmt, ...)
va_list args;
va_start(args, fmt);
vsnprintf(msg, arrsize(msg), fmt, args);
#ifdef HS_DEBUGGING
#if defined(HS_DEBUGGING) && defined(_MSC_VER)
if (s_GuiAsserts)
{
if(_CrtDbgReport(_CRT_ASSERT, file, line, NULL, msg))