diff options
Diffstat (limited to 'minigzip.c')
-rw-r--r-- | minigzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ extern int unlink __P((const char *)); | |||
27 | # include <string.h> | 27 | # include <string.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifdef MSDOS | 30 | #if defined(MSDOS) || defined(OS2) || defined(WIN32) |
31 | # include <fcntl.h> | 31 | # include <fcntl.h> |
32 | # include <io.h> | 32 | # include <io.h> |
33 | # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) | 33 | # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) |