make building with Codewarrior 7 possible

This commit is contained in:
withmorten
2021-01-19 13:35:48 +01:00
parent 25d3066eae
commit ac0f759b27
42 changed files with 471 additions and 274 deletions

View File

@@ -133,7 +133,7 @@ public:
static bool faststricmp(const char *str1, const char *str2)
{
for (; *str1; str1++, str2++) {
#if MUCH_SLOWER || !defined _WIN32 || defined __MINGW32__
#ifndef ASCII_STRCMP
if (toupper(*str1) != toupper(*str2))
#else
if (__ascii_toupper(*str1) != __ascii_toupper(*str2))