X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=8138608f19f01a8c7e85a23631300f4138587ed4;hb=346d9e2d119ea3fa236905d5db018479f54c225f;hp=2328eb8f0ce50367d660c7126c2b856466d8ab2a;hpb=5dc3c16842b5ad0c4fe72fafe0eed61f12fbf93a;p=lugaru.git 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;