summaryrefslogtreecommitdiff
path: root/source/l/qt5-webkit/qt5-webkit.icu68_1.diff
blob: c15d33aa1ece163e1b331fcc4a42937881a906ba (plain)
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
--- ./Source/WebCore/platform/text/icu/UTextProvider.h.orig	2020-03-04 11:16:37.000000000 -0600
+++ ./Source/WebCore/platform/text/icu/UTextProvider.h	2020-10-30 13:33:29.455998691 -0500
@@ -28,6 +28,14 @@
 
 #include <unicode/utext.h>
 
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
 namespace WebCore {
 
 enum class UTextProviderContext {
--- ./Source/WebCore/platform/text/TextCodecICU.cpp.orig	2020-03-04 11:16:37.000000000 -0600
+++ ./Source/WebCore/platform/text/TextCodecICU.cpp	2020-10-30 13:34:33.196995165 -0500
@@ -39,6 +39,14 @@
 #include <wtf/text/StringBuilder.h>
 #include <wtf/unicode/CharacterNames.h>
 
+#ifndef FALSE
+#define FALSE (0)
+#endif
+
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+
 namespace WebCore {
 
 const size_t ConversionBufferSize = 16384;