From c2e99b91c06d26690b79fc548a5e1d2bc90591c8 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 19 Jan 2018 09:05:04 -0800 Subject: Enabled MacOS build --- Common/interface/StringTools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Common/interface') 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 -- cgit v1.2.3