Merge branch 'mingw-statbuf-size' into 'master'

gstdio: use _stat64 for GStatBuf on 64bit mingw. Fixes #1476

Closes #1476

See merge request GNOME/glib!226
This commit is contained in:
Christoph Reiter 2018-08-20 10:48:16 +00:00
commit f6703db378
2 changed files with 13 additions and 0 deletions

9
NEWS
View File

@ -1,3 +1,12 @@
Overview of changes in GLib 2.57.3
==================================
* MinGW-w64 ABI warning: In case you build 64 bit glib without LFS support by
passing --disable-largefile (not the default) and use GStatBuf, you need to
rebuild your application as the size of GStatBuf has changed for this case.
See #1476
Overview of changes in GLib 2.57.2
==================================

View File

@ -44,6 +44,10 @@ G_BEGIN_DECLS
typedef struct _stat32 GStatBuf;
#elif defined(__MINGW64_VERSION_MAJOR) && defined(_WIN64)
typedef struct _stat64 GStatBuf;
#else
typedef struct stat GStatBuf;