unix has no io.h.
authorSylvain Petreolle <spetreolle@yahoo.fr>
Mon, 5 Jul 2010 12:43:09 +0000 (12:43 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Mon, 5 Jul 2010 12:43:09 +0000 (12:43 +0000)
move its include to a _WIN32 block.

svn path=/trunk/; revision=47948

reactos/lib/3rdparty/zlib/gzguts.h

index b0d10aa..aa075e7 100644 (file)
 #  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