Merge pull request #3583 from assimp/kimkulling-replace_sstrcasecmp
Remove dependency to posix-extension functionpull/3578/head
commit
e3d39b9f66
|
@ -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++);
|
||||||
|
|
Loading…
Reference in New Issue