summaryrefslogtreecommitdiffstats
path: root/misc/dwdiff/doDiff.c.patch
blob: fd2ffe657832055b39c788978efbbc0114966e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;