Merge pull request #3583 from assimp/kimkulling-replace_sstrcasecmp

Remove dependency to posix-extension function
pull/3578/head
Kim Kulling 2021-01-14 12:06:24 +01:00 committed by GitHub
commit e3d39b9f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

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