Mercurial > pidgin.yaz
comparison libpurple/internal.h @ 23060:00b442421563
Compatibility with older glib versions
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 26 Jun 2008 19:08:38 +0000 |
parents | a8fff9da2791 |
children | 1008901e1d5c eac0561dfd55 |
comparison
equal
deleted
inserted
replaced
23059:79b4a8e0da77 | 23060:00b442421563 |
---|---|
138 #include <glib.h> | 138 #include <glib.h> |
139 #if !GLIB_CHECK_VERSION(2,4,0) | 139 #if !GLIB_CHECK_VERSION(2,4,0) |
140 # define G_MAXUINT32 ((guint32) 0xffffffff) | 140 # define G_MAXUINT32 ((guint32) 0xffffffff) |
141 #endif | 141 #endif |
142 | 142 |
143 #ifndef G_MAXSIZE | |
144 # if GLIB_SIZEOF_LONG == 8 | |
145 # define G_MAXSIZE ((gsize) 0xffffffffffffffff) | |
146 # else | |
147 # define G_MAXSIZE ((gsize) 0xffffffff) | |
148 # endif | |
149 #endif | |
150 | |
143 #if GLIB_CHECK_VERSION(2,6,0) | 151 #if GLIB_CHECK_VERSION(2,6,0) |
144 # include <glib/gstdio.h> | 152 # include <glib/gstdio.h> |
145 #endif | 153 #endif |
146 | 154 |
147 #if !GLIB_CHECK_VERSION(2,6,0) | 155 #if !GLIB_CHECK_VERSION(2,6,0) |