-
Notifications
You must be signed in to change notification settings - Fork 16
/
icu59-switch.patch
40 lines (36 loc) · 1.07 KB
/
icu59-switch.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff -Naur icu-native/source/common/putilimp.h icu/source/common/putilimp.h
--- icu-native/source/common/putilimp.h 2018-02-22 16:51:51.177401000 +0000
+++ icu/source/common/putilimp.h 2018-02-22 16:51:53.853401000 +0000
@@ -103,6 +103,7 @@
# define U_NL_LANGINFO_CODESET CODESET
#endif
+#if 0
#ifdef U_TZSET
/* Use the predefined value. */
#elif U_PLATFORM_USES_ONLY_WIN32_API
@@ -153,6 +154,7 @@
#else
# define U_TZNAME tzname
#endif
+#endif
#ifdef U_HAVE_MMAP
/* Use the predefined value. */
diff -Naur icu-native/source/i18n/digitlst.cpp icu/source/i18n/digitlst.cpp
--- icu-native/source/i18n/digitlst.cpp 2018-02-22 16:51:51.102401000 +0000
+++ icu/source/i18n/digitlst.cpp 2018-02-22 16:51:53.855401000 +0000
@@ -50,6 +50,7 @@
#include <stdio.h>
#include <limits>
+#if 0
#if !defined(U_USE_STRTOD_L)
# if U_PLATFORM_USES_ONLY_WIN32_API
# define U_USE_STRTOD_L 1
@@ -59,6 +60,9 @@
# define U_USE_STRTOD_L 0
# endif
#endif
+#endif
+
+#define U_USE_STRTOD_L 0
#if U_USE_STRTOD_L
# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN