blob: 3cda7a933b2cf0399e92a8039954da8c2eb2f22d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Fix the compilation for when Unicode (ICU) support is disabled.
-mi
--- src/option.c.orig 2018-12-10 18:25:15 UTC
+++ src/option.c
@@ -468,7 +468,7 @@ static void initializeOptions(void) {
option.output = stdout;
initOptions();
- UErrorCode error = U_ZERO_ERROR;
+ ONLY_UNICODE(UErrorCode error = U_ZERO_ERROR;)
ONLY_UNICODE(option.decomposition = unorm2_getNFDInstance(&error);)
option.needStartStop = true;
|