Merge pull request #3583 from assimp/kimkulling-replace_sstrcasecmp

Remove dependency to posix-extension function
This commit is contained in:
Kim Kulling
2021-01-14 12:06:24 +01:00
committed by GitHub

View File

@@ -145,11 +145,7 @@ int ASSIMP_stricmp(const char *s1, const char *s2) {
#if (defined _MSC_VER)
return ::_stricmp(s1, s2);
#elif defined(__GNUC__)
return ::strcasecmp(s1, s2);
#else
char c1, c2;
do {
c1 = tolower(*s1++);