# HG changeset patch # User Stu Tomlinson # Date 1205763227 0 # Node ID 5ddb2a65e7ea6cc1ee7f4e2c1a75c631b3319115 # Parent 43f28905e2fd58182b7b4ac6b3a38aa9a76c5d56 Fix compiling on older Glib where G_GSIZE_MODIFIER is not defined diff -r 43f28905e2fd -r 5ddb2a65e7ea libpurple/internal.h --- a/libpurple/internal.h Mon Mar 17 14:08:36 2008 +0000 +++ b/libpurple/internal.h Mon Mar 17 14:13:47 2008 +0000 @@ -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"