changeset 22497:5ddb2a65e7ea

Fix compiling on older Glib where G_GSIZE_MODIFIER is not defined
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 17 Mar 2008 14:13:47 +0000
parents 43f28905e2fd
children b6bf5a5f261b
files libpurple/internal.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"