Browse Source

Fix HS_DEBUGGING for non-MSVC compilers.

Darryl Pogue 10 years ago
parent
commit
352172e41b
  1. 2
      Sources/Plasma/CoreLib/HeadSpin.cpp

2
Sources/Plasma/CoreLib/HeadSpin.cpp

@ -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))

Loading…
Cancel
Save