pidgin: a57a69fa: Fix compiling on older Glib where G_GSIZ...
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Mon Mar 17 10:15:42 EDT 2008
-----------------------------------------------------------------
Revision: a57a69fa3375363e0061f7ad23e80923b948b245
Ancestor: 212692733e6f978d447d57562ebb154f679930b7
Author: nosnilmot at pidgin.im
Date: 2008-03-17T14:13:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a57a69fa3375363e0061f7ad23e80923b948b245
Modified files:
libpurple/internal.h
ChangeLog:
Fix compiling on older Glib where G_GSIZE_MODIFIER is not defined
-------------- next part --------------
============================================================
--- libpurple/internal.h d338ef3d4c418c585227845e498b7a8014a12a66
+++ libpurple/internal.h ae1fedf96c79579f0e6ca68933a2144c8363e8ce
@@ -182,6 +182,14 @@
# endif
#endif
+#ifndef G_GSIZE_MODIFIER
+# if GLIB_SIZEOF_LONG == 8
+# define G_GSIZE_MODIFIER "l"
+# else
+# define G_GSIZE_MODIFIER ""
+# endif
+#endif
+
#ifndef G_GSIZE_FORMAT
# if GLIB_SIZEOF_LONG == 8
# define G_GSIZE_FORMAT "lu"
More information about the Commits
mailing list