From ae1cccaa0ae08ac6ced3bb1fb225065fc71bf65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 4 Feb 2022 14:54:02 +0400 Subject: [PATCH] glib/gstdio: simplify GStatBuf macro condition for win64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As noted by Charlie Barto: "both mingw64 and msvc define _WIN64 in 64-bit mode, and both are LLP64, and both have struct _stat64 defined the same way." https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2449#note_1372190 Signed-off-by: Marc-André Lureau --- glib/gstdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gstdio.h b/glib/gstdio.h index 4af0efdb6..20d066c70 100644 --- a/glib/gstdio.h +++ b/glib/gstdio.h @@ -44,7 +44,7 @@ G_BEGIN_DECLS typedef struct _stat32 GStatBuf; -#elif defined(__MINGW64_VERSION_MAJOR) && defined(_WIN64) +#elif defined(_WIN64) typedef struct _stat64 GStatBuf;