mirror of https://github.com/ecmwf/eccodes.git
Fix Windows build (take 2)
This commit is contained in:
parent
8cf449a8da
commit
43dac51b42
|
@ -87,7 +87,7 @@ static char* strcasestr(const char *haystack, const char* needle)
|
|||
if ((sc = *haystack++) == 0)
|
||||
return (NULL);
|
||||
} while ((char)tolower((unsigned char)sc) != c);
|
||||
} while (strncasecmp(haystack, needle, len) != 0);
|
||||
} while (_strnicmp(haystack, needle, len) != 0);
|
||||
haystack--;
|
||||
}
|
||||
return ((char *)haystack);
|
||||
|
|
Loading…
Reference in New Issue