pidgin.2.4.3: 260d5ee6: Compatibility with older glib versions
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Thu Jun 26 15:11:00 EDT 2008
-----------------------------------------------------------------
Revision: 260d5ee6ca276e761c5b0bd1b612edc5743eaf67
Ancestor: c3831c9181f4f61b747321240086ee79e4a08fd8
Author: nosnilmot at pidgin.im
Date: 2008-06-26T19:08:38
Branch: im.pidgin.pidgin.2.4.3
URL: http://d.pidgin.im/viewmtn/revision/info/260d5ee6ca276e761c5b0bd1b612edc5743eaf67
Modified files:
libpurple/internal.h
ChangeLog:
Compatibility with older glib versions
-------------- next part --------------
============================================================
--- libpurple/internal.h 0762159cb0d27d5537e611db67c6d7625d0bf5b0
+++ libpurple/internal.h 73b39bdea37096d94bafa5cb004c8261e6826ceb
@@ -140,6 +140,14 @@
# define G_MAXUINT32 ((guint32) 0xffffffff)
#endif
+#ifndef G_MAXSIZE
+# if GLIB_SIZEOF_LONG == 8
+# define G_MAXSIZE ((gsize) 0xffffffffffffffff)
+# else
+# define G_MAXSIZE ((gsize) 0xffffffff)
+# endif
+#endif
+
#if GLIB_CHECK_VERSION(2,6,0)
# include <glib/gstdio.h>
#endif
More information about the Commits
mailing list