Mon, 17 Mar 2008 14:13:47 +0000
Fix compiling on older Glib where G_GSIZE_MODIFIER is not defined
| libpurple/internal.h | file | annotate | diff | comparison | revisions |
--- 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"