diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-01-29 19:20:13 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-01-29 21:15:24 -0800 |
commit | 3fb727c34d2f499ba8fb22771dc42564383e902e (patch) | |
tree | 7202664d1bf3dd50d9da12d44fb04fd1f8e76d9f /gzguts.h | |
parent | 5dac2aa00710d4fee921cf492dd4b7fd2e27c238 (diff) | |
download | zlib-3fb727c34d2f499ba8fb22771dc42564383e902e.tar.gz zlib-3fb727c34d2f499ba8fb22771dc42564383e902e.tar.bz2 zlib-3fb727c34d2f499ba8fb22771dc42564383e902e.zip |
Include io.h in gzguts.h for Microsoft compilers.
Diffstat (limited to 'gzguts.h')
-rw-r--r-- | gzguts.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -27,7 +27,7 @@ | |||
27 | #endif | 27 | #endif |
28 | #include <fcntl.h> | 28 | #include <fcntl.h> |
29 | 29 | ||
30 | #ifdef __TURBOC__ | 30 | #if defined(__TURBOC__) || defined(_MSC_VER) |
31 | # include <io.h> | 31 | # include <io.h> |
32 | #endif | 32 | #endif |
33 | 33 | ||
@@ -66,7 +66,6 @@ | |||
66 | /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ | 66 | /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ |
67 | # if !defined(vsnprintf) && !defined(NO_vsnprintf) | 67 | # if !defined(vsnprintf) && !defined(NO_vsnprintf) |
68 | # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 ) | 68 | # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 ) |
69 | # include <io.h> | ||
70 | # define vsnprintf _vsnprintf | 69 | # define vsnprintf _vsnprintf |
71 | # endif | 70 | # endif |
72 | # endif | 71 | # endif |