| 985 | #if _MSC_VER > 1900 |
| 986 | |
| 987 | int _strnicmp(const char* str1, const char* str2, size_t count) |
| 988 | { |
| 989 | unsigned int c1, c2; |
| 990 | |
| 991 | if (!count) |
| 992 | return 0; |
| 993 | |
| 994 | do { |
| 995 | c1 = *str1++; |
| 996 | c2 = *str2++; |
| 997 | if (!c1 || !c2) |
| 998 | break; |
| 999 | if (c1 == c2) |
| 1000 | continue; |
| 1001 | c1 = tolower(c1); |
| 1002 | c2 = tolower(c2); |
| 1003 | if (c1 != c2) |
| 1004 | break; |
| 1005 | } while (--count); |
| 1006 | return (int)c1 - (int)c2; |
| 1007 | } |
| 1008 | |
| 1009 | #if !defined(_M_ARM64) && !defined(_M_ARM) |
| 1010 |
no outgoing calls
no test coverage detected