unix has no io.h.

move its include to a _WIN32 block.

svn path=/trunk/; revision=47948
This commit is contained in:
Sylvain Petreolle 2010-07-05 12:43:09 +00:00
parent 007f159c23
commit 23caea8334

View file

@ -25,15 +25,17 @@
# include <stdlib.h>
# include <limits.h>
#endif
#include <io.h>
#include <fcntl.h>
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif
#ifdef _MSC_VER
#ifdef _WIN32
# include <io.h>
#endif
#ifdef _MSC_VER
# define vsnprintf _vsnprintf
#endif