diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-10-05 18:52:50 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-10-05 18:52:50 +0000 |
commit | 683e546c2d75b70590455f4be0b7592664d6a024 (patch) | |
tree | 8839ce0e2351c28cc98107af994e451a4e292e26 /etc.c | |
parent | * --with-imagelib request on [w3m-dev 03981] (diff) | |
download | w3m-683e546c2d75b70590455f4be0b7592664d6a024.tar.gz w3m-683e546c2d75b70590455f4be0b7592664d6a024.zip |
fix build error --disbable-m17n
* config.h.in: undef USE_M17N, USE_UNICODE
* etc.c (url_unquote_conv): USE_M17N
* file.c (convertLine): USE_M17N
(loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N
(loadBuffer): fix USE_M17N
(getNextPage): fix USE_M17N
* fm.h (USE_M17N): don't define USE_M17N in case LANG == JA
(this should be done by configure)
(wc_ces): dummy typedef
(wc_Str_conv): fix non-m17n macro args
(wc_Str_conv_strict): ditto
* ftp.c (loadFTPDir): fix undefined USE_M17N
* mimehead.c (decodeWord): ditto
(decodeMIME): ditto
* news.c (loadNewsgroup): ditto
* proto.h (convertLine): ditto
(loadGopherDir): ditto
(loadFTPDir): ditto
(loadNewsgroup): ditto
(decodeWord): ditto
(decodeMIME): ditto
(url_unquote_conv): ditto
* terms.c (SETCH): ditto
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'etc.c')
-rw-r--r-- | etc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.74 2003/09/26 17:59:51 ukai Exp $ */ +/* $Id: etc.c,v 1.75 2003/10/05 18:52:51 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -1649,8 +1649,13 @@ file_to_url(char *file) return tmp->ptr; } +#ifdef USE_M17N char * url_unquote_conv(char *url, wc_ces charset) +#else +char * +url_unquote_conv0(char *url) +#endif { #ifdef USE_M17N wc_uint8 old_auto_detect = WcOption.auto_detect; |