comparison libpurple/internal.h @ 23406:3c1f1bed5be2

merge of '57be04f07f9fdc005b620053ae4f09dd1e27ebb3' and '582755b8228024381c2a9e110de35f0aaedd5dc1'
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 02 Jul 2008 00:06:25 +0000
parents f1602b78aa59
children 8282911d5e17
comparison
equal deleted inserted replaced
22892:c9bc2d0215ed 23406:3c1f1bed5be2
100 #endif 100 #endif
101 101
102 #include <gmodule.h> 102 #include <gmodule.h>
103 103
104 #ifdef PURPLE_PLUGINS 104 #ifdef PURPLE_PLUGINS
105 # ifndef _WIN32 105 # ifdef HAVE_DLFCN_H
106 # include <dlfcn.h> 106 # include <dlfcn.h>
107 # endif 107 # endif
108 #endif 108 #endif
109 109
110 #ifndef _WIN32 110 #ifndef _WIN32
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)