From b3b1909c8c07cd72a268f16a1440d328aea4885f Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Mon, 14 May 2012 13:33:57 +0000 Subject: [PATCH] ICU-9295 Add endianness check for HPPA systems X-SVN-Rev: 31819 --- icu4c/source/common/unicode/platform.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.40.0