From c28ae74d2e4772855f7f8729015e203d0938e466 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 1 Mar 2013 14:00:10 +0100 Subject: [PATCH] (MSVC) Add strncasecmp to msvc_compat.h --- msvc/msvc_compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msvc/msvc_compat.h b/msvc/msvc_compat.h index eaa693e435..22bb32d261 100644 --- a/msvc/msvc_compat.h +++ b/msvc/msvc_compat.h @@ -35,6 +35,8 @@ typedef int ssize_t; #define strtoull _strtoui64 #undef strcasecmp #define strcasecmp _stricmp +#undef strncasecmp +#define strncasecmp _strnicmp // Disable some of the annoying warnings. #pragma warning(disable : 4800)