瀏覽代碼

Merge pull request #3583 from assimp/kimkulling-replace_sstrcasecmp

Remove dependency to posix-extension function
Kim Kulling 4 年之前
父節點
當前提交
e3d39b9f66
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      include/assimp/StringComparison.h

+ 0 - 4
include/assimp/StringComparison.h

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