(MSVC) Add strncasecmp to msvc_compat.h

This commit is contained in:
twinaphex 2013-03-01 14:00:10 +01:00
parent c0d8894165
commit c28ae74d2e

View File

@ -35,6 +35,8 @@ typedef int ssize_t;
#define strtoull _strtoui64 #define strtoull _strtoui64
#undef strcasecmp #undef strcasecmp
#define strcasecmp _stricmp #define strcasecmp _stricmp
#undef strncasecmp
#define strncasecmp _strnicmp
// Disable some of the annoying warnings. // Disable some of the annoying warnings.
#pragma warning(disable : 4800) #pragma warning(disable : 4800)