From: Michael Ow Date: Mon, 14 May 2012 13:33:57 +0000 (+0000) Subject: ICU-9295 Add endianness check for HPPA systems X-Git-Tag: milestone-59-0-1~3824 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3b1909c8c07cd72a268f16a1440d328aea4885f;p=icu ICU-9295 Add endianness check for HPPA systems X-SVN-Rev: 31819 --- diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index 915e05238f7..f9e61fda1a1 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -349,6 +349,9 @@ #elif U_PLATFORM == U_PF_OS390 || U_PLATFORM == U_PF_OS400 /* These platforms do not appear to predefine any endianness macros. */ # define U_IS_BIG_ENDIAN 1 +#elif defined(_PA_RISC1_0) || defined(_PA_RISC1_1) || defined(_PA_RISC2_0) + /* HPPA do not appear to predefine any endianness macros. */ +# define U_IS_BIG_ENDIAN 1 #else # define U_IS_BIG_ENDIAN 0 #endif