aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 10:48:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 10:48:12 +0000
commit03c75fd026bd99e61b2c1ae512950481e809f183 (patch)
tree2059600315a41981a876d6d61f36bae4459a3c07 /file.c
parent[w3m-dev 02586] code cleanup again (diff)
downloadw3m-03c75fd026bd99e61b2c1ae512950481e809f183.tar.gz
w3m-03c75fd026bd99e61b2c1ae512950481e809f183.zip
[w3m-dev 02587]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 4b062d4..5ceded8 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.18 2001/11/29 10:22:58 ukai Exp $ */
+/* $Id: file.c,v 1.19 2001/11/29 10:48:12 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6029,7 +6029,7 @@ gunzip_stream(URLFile *uf)
signal(SIGINT, SIG_DFL);
close(fd1[0]);
if (tmpf) {
-#ifdef __CYGWIN__
+#ifdef USE_BINMODE_STREAM
int tmpfd = open(tmpf, O_RDONLY | O_BINARY);
#else
int tmpfd = open(tmpf, O_RDONLY);