]> granicus.if.org Git - icu/commitdiff
ICU-9295 Add endianness check for HPPA systems
authorMichael Ow <mow@svn.icu-project.org>
Mon, 14 May 2012 13:33:57 +0000 (13:33 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Mon, 14 May 2012 13:33:57 +0000 (13:33 +0000)
X-SVN-Rev: 31819

icu4c/source/common/unicode/platform.h

index 915e05238f7926983bfda90ed6ca595492251c21..f9e61fda1a19b1da8922d69ebeefd1bf756557ea 100644 (file)
 #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