diff libpurple/internal.h @ 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 bd60afa72fce
children a8fff9da2791
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"