Remove the !defined(__GNUC__) for <io.h>.
Not required for VC8.
#include <config.h>
#include <fcntl.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#include <config.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#include <fcntl.h>
#include <config.h>
#include <fcntl.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#if !defined(_WIN32)
#include <errno.h>
#if defined(_WIN32)
-#if !defined(__GNUC__)
#include <io.h>
-#endif
#include <share.h>
#endif
#include <fcntl.h>
#include <config.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#if !defined(_WIN32)
#include <fcntl.h>
#include <stdio.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#include <time.h>
#include <config.h>
-#if defined(_WIN32) && !defined(__GNUC__)
+#if defined(_WIN32)
#include <io.h>
#endif
#include <fcntl.h>