ICU-7636 Define _XOPEN_SOURCE_EXTENDED in putil.c when using VA compiler

X-SVN-Rev: 28070
This commit is contained in:
Michael Ow 2010-05-17 16:26:44 +00:00
parent 94aab1c22b
commit 243d11d980

View File

@ -52,7 +52,7 @@
Poorly upgraded Solaris machines can't have this defined.
Cleanly installed Solaris can use this #define.
*/
#if !defined(_XOPEN_SOURCE_EXTENDED) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199901L)
#if !defined(_XOPEN_SOURCE_EXTENDED) && ((!defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199901L) || defined(__xlc__))
#define _XOPEN_SOURCE_EXTENDED 1
#endif