--- glib-2.39.3/glib/gstdio.h.orig 2013-12-09 01:30:33.000000000 +0000 +++ glib-2.39.3/glib/gstdio.h 2014-01-23 16:01:09.254148700 +0000 @@ -27,7 +27,7 @@ G_BEGIN_DECLS -#if defined (_MSC_VER) && !defined(_WIN64) +#if (defined (__MINGW32__) || defined (_MSC_VER)) && !defined(_WIN64) /* Make it clear that we mean the struct with 32-bit st_size and * 32-bit st_*time fields as that is how the 32-bit GLib DLL normally