From 346d9e2d119ea3fa236905d5db018479f54c225f Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sun, 30 May 2010 01:04:17 -0500 Subject: [PATCH] Added redefinition for MSVC --- Source/GameTick.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 2328eb8..8138608 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -34,6 +34,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. using namespace std; +// Added more evilness needed for MSVC +#ifdef _MSC_VER + #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) + #define snprintf(buf, size, format, ...) _sprintf_p(buf, size, format) +#endif + + extern float multiplier; extern XYZ viewer; extern int environment; -- 2.39.2