diff libpurple/internal.h @ 22517:63ffeb5c20a0

merge of '72c6d2dad88b0353a473a6e6398fc42ad3972716' and 'd1cb8f8d708a727ac0688ccbb562f411e438c635'
author Ka-Hing Cheung <khc@hxbc.us>
date Fri, 21 Mar 2008 03:17:36 +0000
parents a8fff9da2791
children 00b442421563 313b87adb730
line wrap: on
line diff
--- a/libpurple/internal.h	Fri Mar 21 03:17:26 2008 +0000
+++ b/libpurple/internal.h	Fri Mar 21 03:17:36 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"
@@ -190,6 +198,14 @@
 #	endif
 #endif
 
+#ifndef G_GSSIZE_FORMAT
+#	if GLIB_SIZEOF_LONG == 8
+#		define G_GSSIZE_FORMAT "li"
+#	else
+#		define G_GSSIZE_FORMAT "i"
+#	endif
+#endif
+
 #ifndef G_GNUC_NULL_TERMINATED
 #	if     __GNUC__ >= 4
 #		define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))