[Commits] [SCM] claws branch, master, updated. 3.10.1-6-g0f71a29

claws at claws-mail.org claws at claws-mail.org
Mon Jun 9 19:01:44 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  0f71a29506e89c2537641625a86c8f28c0fc98e9 (commit)
      from  8f81dc6211b3c5bf353e62d69d93317c59ce8d24 (commit)


- Log -----------------------------------------------------------------
commit 0f71a29506e89c2537641625a86c8f28c0fc98e9
Author: Paul <paul at claws-mail.org>
Date:   Mon Jun 9 18:01:39 2014 +0100

    more code removal due to min version of glib now being 2.20

diff --git a/src/common/utils.h b/src/common/utils.h
index 1a1f6c4..361419d 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -52,40 +52,10 @@
 
 #define fsync _commit
 
-#if GLIB_CHECK_VERSION (2, 13, 2)
 #define pipe(phandles)  _pipe (phandles, 4096, _O_BINARY)
 #endif
-#endif
 /* Wrappers for C library function that take pathname arguments. */
-#if GLIB_CHECK_VERSION(2, 6, 0)
 #  include <glib/gstdio.h>
-#else
-
-#define g_open		open
-#define g_rename	rename
-#define g_mkdir		mkdir
-#define g_stat		stat
-#define g_lstat		lstat
-#define g_unlink	unlink
-#define g_remove	remove
-#define g_rmdir		rmdir
-#define g_fopen		fopen
-#define g_freopen	freopen
-
-#endif /* GLIB_CHECK_VERSION */
-
-#if !GLIB_CHECK_VERSION(2, 7, 0)
-
-#ifdef G_OS_UNIX
-#define g_chdir		chdir
-#define g_chmod		chmod
-#else
-gint g_chdir	(const gchar	*path);
-gint g_chmod	(const gchar	*path,
-		 gint		 mode);
-#endif /* G_OS_UNIX */
-
-#endif /* !GLIB_CHECK_VERSION */
 
 /* why is this sometimes undefined !? */
 #ifndef G_MAXOFFSET

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

Summary of changes:
 src/common/utils.h |   30 ------------------------------
 1 file changed, 30 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list