summaryrefslogtreecommitdiff
path: root/external/icu/icu4c-59-werror-undef.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/icu/icu4c-59-werror-undef.patch.1')
-rw-r--r--external/icu/icu4c-59-werror-undef.patch.113
1 files changed, 13 insertions, 0 deletions
diff --git a/external/icu/icu4c-59-werror-undef.patch.1 b/external/icu/icu4c-59-werror-undef.patch.1
new file mode 100644
index 000000000000..0792e7357257
--- /dev/null
+++ b/external/icu/icu4c-59-werror-undef.patch.1
@@ -0,0 +1,13 @@
+diff -ur icu.org/source/common/unicode/uvernum.h icu/source/common/unicode/uvernum.h
+# https://ssl.icu-project.org/trac/ticket/13175
+--- icu.org/source/common/unicode/uvernum.h 2017-03-21 02:03:49.000000000 +0100
++++ icu/source/common/unicode/uvernum.h 2017-04-21 23:44:55.123597927 +0200
+@@ -125,7 +125,7 @@
+ * This value will change in the subsequent releases of ICU
+ * @stable ICU 2.6
+ */
+-#if U_PLATFORM_HAS_WINUWP_API == 0
++#if !defined(U_PLATFORM_HAS_WINUWP_API) || (U_PLATFORM_HAS_WINUWP_API == 0)
+ #define U_ICU_VERSION_SHORT "59"
+ #else
+ // U_DISABLE_RENAMING does not impact dat file name