]> granicus.if.org Git - icu/commitdiff
ICU-9365 Add check for AIX processor type
authorMichael Ow <mow@svn.icu-project.org>
Tue, 3 Jul 2012 18:08:56 +0000 (18:08 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Tue, 3 Jul 2012 18:08:56 +0000 (18:08 +0000)
X-SVN-Rev: 32023

icu4c/source/common/unicode/platform.h

index b145650ea07ccd415c3bdb0bd0425470bb575e4f..2ddc9278e5f092dbeebcb4d4be2ea1ad4a3dfa50 100644 (file)
 #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
 #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. */