diff options
Diffstat (limited to 'Common/interface')
| -rw-r--r-- | Common/interface/StringTools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Common/interface/StringTools.h b/Common/interface/StringTools.h index 08982fe0..bb48f5c1 100644 --- a/Common/interface/StringTools.h +++ b/Common/interface/StringTools.h @@ -69,7 +69,7 @@ inline std::wstring WidenString(const std::string &Str) inline int StrCmpNoCase(const char* Str1, const char* Str2, size_t NumChars) { -#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) +#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) || defined(PLATFORM_MACOS) # define _strnicmp strncasecmp #endif @@ -78,7 +78,7 @@ inline int StrCmpNoCase(const char* Str1, const char* Str2, size_t NumChars) inline int StrCmpNoCase(const char* Str1, const char* Str2) { -#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) +#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) || defined(PLATFORM_MACOS) # define _stricmp strcasecmp #endif |
