From: Marius Storm-Olsen Date: Mon, 14 Sep 2009 13:11:26 GMT Subject: [PATCH 13/17] Define strncasecmp as _strnicmp for MSVC Message-ID: <9c5670f92cd0b3b8b74dd2204698e9c45ad03c90.1252925290.git.mstormo@gmail.com> In-Reply-To: <1b5c5e90392e813ffab4fd510b70e57903a451cc.1252925290.git.mstormo@gmail.com> Signed-off-by: Marius Storm-Olsen --- compat/msvc.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compat/msvc.h b/compat/msvc.h index 53a6d30..a62507f 100644 --- a/compat/msvc.h +++ b/compat/msvc.h @@ -10,6 +10,7 @@ #define __inline__ __inline #define __attribute__(x) #define va_copy(dst, src) ((dst) = (src)) +#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) static __inline int strcasecmp (const char *s1, const char *s2) { -- 1.6.2.1.418.g33d56.dirty