From: Michael Ow Date: Tue, 3 Jul 2012 18:08:56 +0000 (+0000) Subject: ICU-9365 Add check for AIX processor type X-Git-Tag: milestone-59-0-1~3729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=595a189bd18cc98cd723baf29ce073ff937fdc5f;p=icu ICU-9365 Add check for AIX processor type X-SVN-Rev: 32023 --- 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. */