ICU-9082 Add compiler version check for AIX xlc workaround

X-SVN-Rev: 32405
This commit is contained in:
Michael Ow 2012-09-19 20:15:44 +00:00
parent 101059d2ce
commit 2d27b8f67e

View File

@ -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: