talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 0f71a29506e89c2537641625a86c8f28c0fc98e9
parent 8f81dc6211b3c5bf353e62d69d93317c59ce8d24
Author: Paul <paul@claws-mail.org>
Date:   Mon,  9 Jun 2014 18:01:39 +0100

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

Diffstat:
Msrc/common/utils.h | 30------------------------------
1 file changed, 0 insertions(+), 30 deletions(-)

diff --git 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