From: Markus Scherer Date: Fri, 9 Feb 2018 22:00:30 +0000 (+0000) Subject: ICU-13519 set U_CHARSET_IS_UTF8 to 1 on Linux by default X-Git-Tag: release-61-rc~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7482c9720b4f71dd9dad030ec7a1c10bf1ccec2;p=icu ICU-13519 set U_CHARSET_IS_UTF8 to 1 on Linux by default X-SVN-Rev: 40884 --- diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index f220b1fc34d..217de4a1801 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -631,7 +631,7 @@ namespace std { */ #ifdef U_CHARSET_IS_UTF8 /* Use the predefined value. */ -#elif U_PLATFORM == U_PF_ANDROID || U_PLATFORM_IS_DARWIN_BASED +#elif U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED # define U_CHARSET_IS_UTF8 1 #else # define U_CHARSET_IS_UTF8 0