summaryrefslogtreecommitdiffstats
path: root/external/icu/strict_ansi.patch
blob: 972f0e65b1f11fff971033ba0e0ad50e336c0b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- source/io/ufile.cpp
+++ source/io/ufile.cpp
@@ -21,12 +21,6 @@
 */
 
 #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"