Author: spetreolle
Date: Mon Jul 5 12:43:09 2010
New Revision: 47948
URL:
http://svn.reactos.org/svn/reactos?rev=47948&view=rev
Log:
unix has no io.h.
move its include to a _WIN32 block.
Modified:
trunk/reactos/lib/3rdparty/zlib/gzguts.h
Modified: trunk/reactos/lib/3rdparty/zlib/gzguts.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/zlib/gzguts.h…
==============================================================================
--- trunk/reactos/lib/3rdparty/zlib/gzguts.h [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/zlib/gzguts.h [iso-8859-1] Mon Jul 5 12:43:09 2010
@@ -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 _WIN32
+# include <io.h>
+#endif
+
#ifdef _MSC_VER
-# include <io.h>
# define vsnprintf _vsnprintf
#endif