diff options
Diffstat (limited to 'examples/gznorm.c')
-rw-r--r-- | examples/gznorm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gznorm.c b/examples/gznorm.c index 68e0a0f..2a1dda8 100644 --- a/examples/gznorm.c +++ b/examples/gznorm.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__) | 24 | #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__) |
25 | # include <fcntl.h> | 25 | # include <fcntl.h> |
26 | # include <io.h> | 26 | # include <io.h> |
27 | # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) | 27 | # define SET_BINARY_MODE(file) _setmode(_fileno(file), O_BINARY) |
28 | #else | 28 | #else |
29 | # define SET_BINARY_MODE(file) | 29 | # define SET_BINARY_MODE(file) |
30 | #endif | 30 | #endif |