[mew-dist 22315] bin/mewencode.c
KIMURA Yasuhiro
yasu at example.com
2002年 11月 20日 (水) 09:49:30 JST
たいしたことではありませんが、zlibがない環境でmakeするとWarningがい
くつか出るようです。
---
木村 康浩
Mail: yasu at example.com
WWW: http://www.utahime.org/
-------------- next part --------------
Index: bin/mewencode.c
===================================================================
RCS file: /cvsmew/mew/bin/mewencode.c,v
retrieving revision 1.10
diff -u -r1.10 mewencode.c
--- bin/mewencode.c 2002/11/01 05:00:12 1.10
+++ bin/mewencode.c 2002/11/20 00:46:37
@@ -58,14 +58,18 @@
private void version(const char *);
private int read_text(byte *, unsigned int);
private int read_binary(byte *, unsigned int);
+#ifdef HAVE_LIBZ
private int deflate_gzip(byte *, unsigned int);
+#endif /* HAVE_LIBZ */
private int encode_base64(byte *, unsigned int);
private void write_base64(void);
private void base64_encode(int, int);
private void gzip64_encode(int, int);
private int read_base64(byte *, unsigned int);
private int decode_base64(byte *, unsigned int);
+#ifdef HAVE_LIBZ
private int inflate_gzip(byte *, unsigned int);
+#endif /* HAVE_LIBZ */
private void write_text(void);
private void write_binary(void);
private void base64_decode(int);
@@ -148,7 +152,9 @@
unsigned int e_length;
} E_ctx;
+#if HAVE_LIBZ
private byte e_buf1[BUFSIZ];
+#endif /* HAVE_LIBZ */
private byte e_buf2[BUFSIZ];
private byte e_buf3[BUFSIZ];
@@ -448,7 +454,9 @@
} D_ctx;
private byte d_buf1[BUFSIZ];
+#if HAVE_LIBZ
private byte d_buf2[BUFSIZ];
+#endif /* HAVE_LIBZ */
private byte d_buf3[BUFSIZ];
private signed char
Mew-dist メーリングリストの案内