From: <the...@us...> - 2006-09-28 08:34:06
|
Revision: 17391 http://svn.sourceforge.net/gaim/?rev=17391&view=rev Author: thekingant Date: 2006-09-28 01:33:58 -0700 (Thu, 28 Sep 2006) Log Message: ----------- G_MAXUINT32 is used in libgaim/protocols/oscar/oft.c, but it is only defined in glib 2.4 and higher Modified Paths: -------------- trunk/libgaim/internal.h Modified: trunk/libgaim/internal.h =================================================================== --- trunk/libgaim/internal.h 2006-09-28 07:05:33 UTC (rev 17390) +++ trunk/libgaim/internal.h 2006-09-28 08:33:58 UTC (rev 17391) @@ -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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |