Changeset e4e0b37


Ignore:
Timestamp:
2010-07-15T22:16:42Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7885d0f
Parents:
e693ac2
Message:

Fix compatibility with older GLib versions again. (Bug #643, patch from
Robert Scheck.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    re693ac2 re4e0b37  
    3636#include <errno.h>
    3737
     38/* GLib < 2.12.0 doesn't have g_ascii_strtoll(), work around using system strtoll(). */
     39/* GLib < 2.12.4 can be buggy: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488013 */
     40#if !GLIB_CHECK_VERSION(2,12,5)
     41#include <stdlib.h>
     42#include <limits.h>
     43#define g_ascii_strtoll strtoll
     44#endif
     45
    3846#define TXL_STATUS 1
    3947#define TXL_USER 2
Note: See TracChangeset for help on using the changeset viewer.