diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-18 08:13:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-18 08:13:07 +0000 |
commit | 125a300931300ed5ed24c27a7f4f3479d895b790 (patch) | |
tree | 86fa0b10e6df02e670a3ec5a9ad594212f50a901 /libsylph/utils.h | |
parent | c554190ffe6ade73009846ba6729bb79413c5346 (diff) |
replaced 'struct stat' with GStatBuf.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3389 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index f93f4ce8..8fedd9d0 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -103,6 +103,14 @@ gint syl_link (const gchar *src, typedef time_t stime_t; #endif +#if !GLIB_CHECK_VERSION(2, 26, 0) +#if (defined (_MSC_VER) || defined (__MINGW32__)) && !defined(_WIN64) + typedef struct _stat32 GStatBuf; +#else + typedef struct stat GStatBuf; +#endif +#endif + #ifndef BIG_ENDIAN_HOST #if (G_BYTE_ORDER == G_BIG_ENDIAN) #define BIG_ENDIAN_HOST 1 |