提交 3fb727c3 编写于 作者: M Mark Adler

Include io.h in gzguts.h for Microsoft compilers.

上级 5dac2aa0
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#ifdef __TURBOC__ #if defined(__TURBOC__) || defined(_MSC_VER)
# include <io.h> # include <io.h>
#endif #endif
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf) # if !defined(vsnprintf) && !defined(NO_vsnprintf)
# if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 ) # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
# include <io.h>
# define vsnprintf _vsnprintf # define vsnprintf _vsnprintf
# endif # endif
# endif # endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册