aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-06-04 11:58:51 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2012-06-04 11:58:51 +0100
commitc43f4886bf2e0c94dca1ac69ac7415e21f59d066 (patch)
tree6ac8cc53a3ecfe1db5c21f94501f99fa2877f90e
parent7d2ce9aeac8ddd4ba3116fe38f502491d9ab4f80 (diff)
Remove two hacks for some glib<2.14 versions that are no longer supported.
-rw-r--r--protocols/twitter/twitter_lib.c8
-rw-r--r--storage_xml.c6
2 files changed, 0 insertions, 14 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c
index 01e8f538..20a2708d 100644
--- a/protocols/twitter/twitter_lib.c
+++ b/protocols/twitter/twitter_lib.c
@@ -39,14 +39,6 @@
#include <ctype.h>
#include <errno.h>
-/* GLib < 2.12.0 doesn't have g_ascii_strtoll(), work around using system strtoll(). */
-/* GLib < 2.12.4 can be buggy: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488013 */
-#if !GLIB_CHECK_VERSION(2,12,5)
-#include <stdlib.h>
-#include <limits.h>
-#define g_ascii_strtoll strtoll
-#endif
-
#define TXL_STATUS 1
#define TXL_USER 2
#define TXL_ID 3
diff --git a/storage_xml.c b/storage_xml.c
index 0525fef5..566d0021 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -29,13 +29,7 @@
#include "arc.h"
#include "md5.h"
-#if GLIB_CHECK_VERSION(2,8,0)
#include <glib/gstdio.h>
-#else
-/* GLib < 2.8.0 doesn't have g_access, so just use the system access(). */
-#include <unistd.h>
-#define g_access access
-#endif
typedef enum
{