--- glib-@GLIB_VERSION.orig@\glib\gstdio.c	2010-10-02 23:36:22.343750000 +0900
+++ glib-@GLIB_VERSION@\glib\gstdio.c	2010-10-03 04:29:15.312500000 +0900
@@ -49,7 +49,7 @@
 #error Please port this to your operating system
 #endif
 
-#if defined (_MSC_VER) && !defined(_WIN64)
+#if _MSC_VER >= 1400 && !defined(_WIN64)
 #undef _wstat
 #define _wstat _wstat32
 #endif
