[Commits] [SCM] claws branch, master, updated. 3.12.0-5-gaab231b

ticho at claws-mail.org ticho at claws-mail.org
Mon Jul 20 19:57:26 CEST 2015


The branch, master has been updated
       via  aab231b16fd07a9196fe882205658d33c78752d2 (commit)
      from  f085d057cdee7b1a3747f06f68e18d2379e45cf4 (commit)

Summary of changes:
 src/common/utils.h |    8 ++++++++
 1 file changed, 8 insertions(+)


- Log -----------------------------------------------------------------
commit aab231b16fd07a9196fe882205658d33c78752d2
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Jul 20 19:57:05 2015 +0200

    Fix building on GLib older than 2.25.

diff --git a/src/common/utils.h b/src/common/utils.h
index ff01d83..3771d45 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -75,6 +75,14 @@ typedef gint64 goffset;
   #define HAVE_U32_TYPEDEF
 #endif
 
+#if !GLIB_CHECK_VERSION(2, 25, 0)
+# ifdef G_OS_WIN32
+	typedef _g_stat_struct GStatBuf;
+# else
+	typedef struct stat GStatBuf;
+# endif
+#endif
+
 #ifndef BIG_ENDIAN_HOST
   #if (G_BYTE_ORDER == G_BIG_ENDIAN)
     #define BIG_ENDIAN_HOST 1

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list