From 2d27b8f67efec183a2eb77c4b05a33261c42e315 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Wed, 19 Sep 2012 20:15:44 +0000 Subject: [PATCH] ICU-9082 Add compiler version check for AIX xlc workaround X-SVN-Rev: 32405 --- icu4c/source/i18n/unicode/plurfmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/unicode/plurfmt.h b/icu4c/source/i18n/unicode/plurfmt.h index 196d8b579d6..afe3a938fc4 100644 --- a/icu4c/source/i18n/unicode/plurfmt.h +++ b/icu4c/source/i18n/unicode/plurfmt.h @@ -512,7 +512,7 @@ public: */ virtual UClassID getDynamicClassID() const; -#if defined(__xlC__) || (U_PLATFORM == U_PF_OS390) || (U_PLATFORM ==U_PF_OS400) +#if (defined(__xlC__) && (__xlC__ < 0x0C00)) || (U_PLATFORM == U_PF_OS390) || (U_PLATFORM ==U_PF_OS400) // Work around a compiler bug on xlC 11.1 on AIX 7.1 that would // prevent PluralSelectorAdapter from implementing private PluralSelector. // xlC error message: -- 2.40.0