diff options
Diffstat (limited to 'libicuio/libicuio/ufile.cpp.patch')
-rw-r--r-- | libicuio/libicuio/ufile.cpp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libicuio/libicuio/ufile.cpp.patch b/libicuio/libicuio/ufile.cpp.patch new file mode 100644 index 0000000..9397298 --- /dev/null +++ b/libicuio/libicuio/ufile.cpp.patch @@ -0,0 +1,15 @@ +--- libicuio/io/ufile.cpp 2019-12-23 14:38:40.255889178 +0300 ++++ libicuio/ufile.cpp 2021-11-22 10:50:17.658962827 +0300 +@@ -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" |