From 45ca3b1c4cfcf791c5884697f18ff96da77a2cdc Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 19 Dec 2017 21:41:39 -0800 Subject: Enabling linux build (in progress) --- Common/include/StringTools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Common/include') diff --git a/Common/include/StringTools.h b/Common/include/StringTools.h index 6bf713de..74b6e7dd 100644 --- a/Common/include/StringTools.h +++ b/Common/include/StringTools.h @@ -70,7 +70,7 @@ inline std::wstring WidenString(const std::string &Str) inline int StrCmpNoCase(const char* Str1, const char* Str2, size_t NumChars) { -#ifdef PLATFORM_ANDROID +#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) # define _strnicmp strncasecmp #endif @@ -79,7 +79,7 @@ inline int StrCmpNoCase(const char* Str1, const char* Str2, size_t NumChars) inline int StrCmpNoCase(const char* Str1, const char* Str2) { -#ifdef PLATFORM_ANDROID +#if defined(PLATFORM_ANDROID) || defined(PLATFORM_LINUX) # define _stricmp strcasecmp #endif -- cgit v1.2.3