summaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:14 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:14 -0700
commita2506218cd8c32416d0d15260834f3c23d910fc8 (patch)
tree25bbd63d92473c8ae02a27cce3fc7c04a6aba64a /minigzip.c
parentb97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d (diff)
downloadzlib-1.2.0.8.tar.gz
zlib-1.2.0.8.tar.bz2
zlib-1.2.0.8.zip
zlib 1.2.0.8v1.2.0.8
Diffstat (limited to 'minigzip.c')
-rw-r--r--minigzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minigzip.c b/minigzip.c
index 167f745..6de35dd 100644
--- a/minigzip.c
+++ b/minigzip.c
@@ -31,7 +31,7 @@
31# include <sys/stat.h> 31# include <sys/stat.h>
32#endif 32#endif
33 33
34#if defined(MSDOS) || defined(OS2) || defined(WIN32) 34#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
35# include <fcntl.h> 35# include <fcntl.h>
36# include <io.h> 36# include <io.h>
37# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 37# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)