summaryrefslogtreecommitdiff
path: root/libicuio/libicuio/ufile.cpp.patch
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-11-22 16:06:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-11-22 16:06:11 +0300
commit2148e5c2a936b7bd6f7582b0a3b20e2d4b842502 (patch)
treee9b53c3218f57966ee38e7301fe64faedbe884b7 /libicuio/libicuio/ufile.cpp.patch
parent92aadc4b3a221b68527478e9459a01860a0db903 (diff)
Release version 65.1.0+6v65.1.0+6
Fix 'unable to find numeric literal operator' MinGW GCC 11 error Fix outdated URL in comment in libicuuc/build/bootstrap.build Update .gitignore Add symlink attribute for symbolic links that refer to upstream subdirectories Redo libicuio patch to align with libicuuc patches
Diffstat (limited to 'libicuio/libicuio/ufile.cpp.patch')
-rw-r--r--libicuio/libicuio/ufile.cpp.patch15
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"