Mercurial > pidgin.yaz
changeset 14645:01db45fdd9cb
[gaim-migrate @ 17391]
G_MAXUINT32 is used in libgaim/protocols/oscar/oft.c, but it is only defined
in glib 2.4 and higher
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 28 Sep 2006 08:33:58 +0000 |
parents | b05f686280f9 |
children | e0a93e6fa98b |
files | libgaim/internal.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/internal.h Thu Sep 28 07:05:33 2006 +0000 +++ b/libgaim/internal.h Thu Sep 28 08:33:58 2006 +0000 @@ -121,6 +121,10 @@ #define PATHSIZE 1024 #include <glib.h> +#if !GLIB_CHECK_VERSION(2,4,0) +# define G_MAXUINT32 ((guint32) 0xffffffff) +#endif + #if GLIB_CHECK_VERSION(2,6,0) # include <glib/gstdio.h> #endif