aboutsummaryrefslogtreecommitdiff
path: root/misc/dwdiff/doDiff.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dwdiff/doDiff.c.patch')
-rw-r--r--misc/dwdiff/doDiff.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/dwdiff/doDiff.c.patch b/misc/dwdiff/doDiff.c.patch
new file mode 100644
index 000000000000..fd2ffe657832
--- /dev/null
+++ b/misc/dwdiff/doDiff.c.patch
@@ -0,0 +1,13 @@
+diff -Naurp dwdiff-2.0.1.orig/src/doDiff.c dwdiff-2.0.1/src/doDiff.c
+--- dwdiff-2.0.1.orig/src/doDiff.c 2011-10-26 14:32:22.000000000 -0400
++++ dwdiff-2.0.1/src/doDiff.c 2011-10-27 00:34:59.785336664 -0400
+@@ -190,7 +190,9 @@ static void handleNextWhitespace(InputFi
+ whitespace.
+ */
+ static void handleSynchronizedNextWhitespace(bool printNew) {
++#ifdef USE_UNICODE
+ static_assert(CRLF_GRAPHEME_CLUSTER_BREAK == 0);
++#endif
+
+ bool BValid = true;
+ unsigned int *lineNumberA, *lineNumberB;