ICU-12993 undef __STRICT_ANSI__ on some platforms.
X-SVN-Rev: 39692
This commit is contained in:
parent
4ff013c080
commit
a1cb685865
@ -20,6 +20,14 @@
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "unicode/platform.h"
|
||||
#if defined(__GNUC__) && !defined(__clang__) && defined(__STRICT_ANSI__)
|
||||
// g++, fileno isn't defined if __STRICT_ANSI__ is defined.
|
||||
// clang fails to compile the <string> header unless __STRICT_ANSI__ is defined.
|
||||
// __GNUC__ is set by both gcc and clang.
|
||||
#undef __STRICT_ANSI__
|
||||
#endif
|
||||
|
||||
#include "locmap.h"
|
||||
#include "unicode/ustdio.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user