From 595a189bd18cc98cd723baf29ce073ff937fdc5f Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Tue, 3 Jul 2012 18:08:56 +0000 Subject: [PATCH] ICU-9365 Add check for AIX processor type X-SVN-Rev: 32023 --- icu4c/source/common/unicode/platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index b145650ea07..2ddc9278e5f 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -268,8 +268,8 @@ #elif U_PLATFORM == U_PF_SOLARIS /* Solaris has inttypes.h but not stdint.h. */ # define U_HAVE_STDINT_H 0 -#elif U_PLATFORM == U_PF_AIX && !defined(_AIX51) - /* AIX <= 4.3 has inttypes.h but not stdint.h. */ +#elif U_PLATFORM == U_PF_AIX && !defined(_AIX51) && defined(_POWER) + /* PPC AIX <= 4.3 has inttypes.h but not stdint.h. */ # define U_HAVE_STDINT_H 0 #else # define U_HAVE_STDINT_H 1 @@ -286,8 +286,8 @@ #elif U_PLATFORM == U_PF_SOLARIS /* Solaris has inttypes.h but not stdint.h. */ # define U_HAVE_INTTYPES_H 1 -#elif U_PLATFORM == U_PF_AIX && !defined(_AIX51) - /* AIX <= 4.3 has inttypes.h but not stdint.h. */ +#elif U_PLATFORM == U_PF_AIX && !defined(_AIX51) && defined(_POWER) + /* PPC AIX <= 4.3 has inttypes.h but not stdint.h. */ # define U_HAVE_INTTYPES_H 1 #else /* Most platforms have both inttypes.h and stdint.h, or neither. */ -- 2.40.0