Fix Windows build (take 2)

This commit is contained in:
Shahram Najm 2024-08-01 15:05:12 +00:00
parent 8cf449a8da
commit 43dac51b42
1 changed files with 1 additions and 1 deletions

View File

@ -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);