ICU-5469 Fix for non-Sun compilers.

X-SVN-Rev: 20620
This commit is contained in:
George Rhoten 2006-11-01 00:13:49 +00:00
parent 11d77d9a9f
commit 33659ae69f

View File

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