Fix GStatBuf definition for win32 when building against older glib.

Now matches upstream glib definition.
This commit is contained in:
Michael Smith 2010-12-22 16:36:09 -08:00
parent 0e3410c100
commit bdb6a9aeec

View file

@ -13,9 +13,15 @@
G_BEGIN_DECLS
#if !GLIB_CHECK_VERSION(2,25,0)
#if defined (_MSC_VER) && !defined(_WIN64)
typedef struct _stat32 GStatBuf;
#else
typedef struct stat GStatBuf;
#endif
#endif
#if GLIB_CHECK_VERSION(2,26,0)
#define GLIB_HAS_GDATETIME
#endif