Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
22496:43f28905e2fd | 22497:5ddb2a65e7ea |
---|---|
180 # else | 180 # else |
181 # define G_GINT64_MODIFIER "ll" | 181 # define G_GINT64_MODIFIER "ll" |
182 # endif | 182 # endif |
183 #endif | 183 #endif |
184 | 184 |
185 #ifndef G_GSIZE_MODIFIER | |
186 # if GLIB_SIZEOF_LONG == 8 | |
187 # define G_GSIZE_MODIFIER "l" | |
188 # else | |
189 # define G_GSIZE_MODIFIER "" | |
190 # endif | |
191 #endif | |
192 | |
185 #ifndef G_GSIZE_FORMAT | 193 #ifndef G_GSIZE_FORMAT |
186 # if GLIB_SIZEOF_LONG == 8 | 194 # if GLIB_SIZEOF_LONG == 8 |
187 # define G_GSIZE_FORMAT "lu" | 195 # define G_GSIZE_FORMAT "lu" |
188 # else | 196 # else |
189 # define G_GSIZE_FORMAT "u" | 197 # define G_GSIZE_FORMAT "u" |