diff --git a/glib/gstdio.h b/glib/gstdio.h index 20d066c70..4af0efdb6 100644 --- a/glib/gstdio.h +++ b/glib/gstdio.h @@ -44,7 +44,7 @@ G_BEGIN_DECLS typedef struct _stat32 GStatBuf; -#elif defined(_WIN64) +#elif defined(__MINGW64_VERSION_MAJOR) && defined(_WIN64) typedef struct _stat64 GStatBuf;