Skip to content

Commit

Permalink
Include io.h in gzguts.h for Microsoft compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 30, 2012
1 parent 5dac2aa commit 3fb727c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gzguts.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#endif
#include <fcntl.h>

#ifdef __TURBOC__
#if defined(__TURBOC__) || defined(_MSC_VER)
# include <io.h>
#endif

Expand Down Expand Up @@ -66,7 +66,6 @@
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf)
# if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
# include <io.h>
# define vsnprintf _vsnprintf
# endif
# endif
Expand Down

0 comments on commit 3fb727c

Please sign in to comment.