From 352172e41b24e0bcaf40b7f24ab97ed153f5661b Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Fri, 6 Feb 2015 21:54:47 -0800 Subject: [PATCH] Fix HS_DEBUGGING for non-MSVC compilers. --- Sources/Plasma/CoreLib/HeadSpin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/CoreLib/HeadSpin.cpp b/Sources/Plasma/CoreLib/HeadSpin.cpp index 0b218d0c..db933b3e 100644 --- a/Sources/Plasma/CoreLib/HeadSpin.cpp +++ b/Sources/Plasma/CoreLib/HeadSpin.cpp @@ -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))