diff --git a/lib/libc/strptime.c b/lib/libc/strptime.c index 03b878001d..864ff94292 100644 --- a/lib/libc/strptime.c +++ b/lib/libc/strptime.c @@ -49,6 +49,11 @@ #include +#ifdef _MSC_VER +/* In MSVC, the strncasecmp function is available as _strnicmp */ +# define strncasecmp _strnicmp +#endif /* _MSC_VER */ + char * get_win32_locale_string (int lctype) {