comparison libgaim/internal.h @ 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 594fa42a785a
children 390519f29a11
comparison
equal deleted inserted replaced
14644:b05f686280f9 14645:01db45fdd9cb
119 #endif 119 #endif
120 120
121 #define PATHSIZE 1024 121 #define PATHSIZE 1024
122 122
123 #include <glib.h> 123 #include <glib.h>
124 #if !GLIB_CHECK_VERSION(2,4,0)
125 # define G_MAXUINT32 ((guint32) 0xffffffff)
126 #endif
127
124 #if GLIB_CHECK_VERSION(2,6,0) 128 #if GLIB_CHECK_VERSION(2,6,0)
125 # include <glib/gstdio.h> 129 # include <glib/gstdio.h>
126 #endif 130 #endif
127 131
128 #ifdef _WIN32 132 #ifdef _WIN32