aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-04-21 16:42:17 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-04-21 16:42:17 +0000
commit58be2bdb6a4234557391c36e1d07fdca44d25228 (patch)
tree61c908106d04bba0b411987e4e29f21db0a603ae
parent[w3m-dev 04064] authentication (diff)
downloadw3m-58be2bdb6a4234557391c36e1d07fdca44d25228.tar.gz
w3m-58be2bdb6a4234557391c36e1d07fdca44d25228.zip
build error for --enable-m17n --disable-unicode
* libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE From: Masao Uebayashi <uebayasi@pultek.co.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--libwc/detect.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 17c081b..dec7b42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-22 Masao Uebayashi <uebayasi@pultek.co.jp>
+
+ * fix build error for --enable-m17n --disable-unicode
+ * libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE
+
2004-04-17 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 04064] authentication
@@ -8443,4 +8448,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.919 2004/04/16 18:47:18 ukai Exp $
+$Id: ChangeLog,v 1.920 2004/04/21 16:42:17 ukai Exp $
diff --git a/libwc/detect.c b/libwc/detect.c
index 2e57cd7..eea2d5d 100644
--- a/libwc/detect.c
+++ b/libwc/detect.c
@@ -63,7 +63,9 @@ wc_create_detect_map(wc_ces ces, wc_bool esc)
for (i = 0; i < 0x20; i++)
WC_DETECT_MAP[i] = 0;
WC_DETECT_MAP[WC_C_HZ_TILDA] = (ces == WC_CES_HZ_GB_2312) ? 1 : 0;
+#ifdef USE_UNICODE
WC_DETECT_MAP[WC_C_UTF7_PLUS] = (ces == WC_CES_UTF_7) ? 1 : 0;
+#endif
}
detect_ces = ces;
}