aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-11-11 10:30:35 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-11-11 10:30:35 +0000
commit249f2fa3ff780be2d40f99517a20ddf661416689 (patch)
tree41f2220f8163df898a447b404a3c8578ab8c2bcb /proto.h
parentMerge pull request #154 from bptato/master (diff)
downloadw3m-249f2fa3ff780be2d40f99517a20ddf661416689.tar.gz
w3m-249f2fa3ff780be2d40f99517a20ddf661416689.zip
Fix compilation errors when USE_GOPHER and not USE_M17N
Diffstat (limited to '')
-rw-r--r--proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 749a3c0..0c6483d 100644
--- a/proto.h
+++ b/proto.h
@@ -261,8 +261,15 @@ extern void loadHTMLstream(URLFile *f, Buffer *newBuf, FILE * src,
int internal);
extern Buffer *loadHTMLString(Str page);
#ifdef USE_GOPHER
+#ifdef USE_M17N
extern Str loadGopherDir(URLFile *uf, ParsedURL *pu, wc_ces * charset);
extern Str loadGopherSearch(URLFile *uf, ParsedURL *pu, wc_ces * charset);
+#else
+extern Str loadGopherDir0(URLFile *uf, ParsedURL *pu);
+extern Str loadGopherSearch0(URLFile *uf, ParsedURL *pu);
+#define loadGopherDir(uf,pu,charset) loadGopherDir0(uf,pu)
+#define loadGopherSearch(uf,pu,charset) loadGopherSearch0(uf,pu)
+#endif
#endif /* USE_GOPHER */
extern Buffer *loadBuffer(URLFile *uf, Buffer *newBuf);
#ifdef USE_IMAGE