diff --git a/src/msvc-compat.h b/src/msvc-compat.h index d4c031d2d..7422a7aea 100644 --- a/src/msvc-compat.h +++ b/src/msvc-compat.h @@ -17,6 +17,10 @@ # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) # define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO) +/* case-insensitive string comparision */ +# define strcasecmp _stricmp +# define strncasecmp _strnicmp + #if (_MSC_VER >= 1600) # include #else