5 #include "mikmod_internals.h"
6 #include "mikmod_ctype.h"
8 int _mm_strcasecmp(const char *__s1, const char *__s2)
10 const char *p1 = __s1;
11 const char *p2 = __s2;
14 if (p1 == p2) return 0;
17 c1 = mik_tolower(*p1++);
18 c2 = mik_tolower(*p2++);
19 if (c1 == '\0') break;
22 return (int)(c1 - c2);