mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01:00
glib/gstdio: simplify GStatBuf macro condition for win64
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 <marcandre.lureau@redhat.com>
This commit is contained in:
parent
f82f4776c0
commit
ae1cccaa0a
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user