comparison src/internal.h @ 10114:70a82a701aad

[gaim-migrate @ 11148] People with Glib < 2.4 need these uglies on HEAD now that Nathan's put his 64bit fixes in. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 18 Oct 2004 12:52:55 +0000
parents 5d9c991549cd
children c143a3fac58d
comparison
equal deleted inserted replaced
10113:84985e2b85cc 10114:70a82a701aad
124 124
125 #ifdef _WIN32 125 #ifdef _WIN32
126 #include "win32dep.h" 126 #include "win32dep.h"
127 #endif 127 #endif
128 128
129 /* ugly ugly ugly */
130 /* This is a workaround for the fact that G_GINT64_MODIFIER and G_GSIZE_FORMAT
131 * are only defined in Glib >= 2.4 */
132 #ifndef G_GINT64_MODIFIER
133 # if GLIB_SIZEOF_LONG == 8
134 # define G_GINT64_MODIFIER "l"
135 # else
136 # define G_GINT64_MODIFIER "ll"
137 # endif
138 #endif
139
140 #ifndef G_GSIZE_FORMAT
141 # if GLIB_SIZEOF_LONG == 8
142 # define G_GSIZE_FORMAT "lu"
143 # else
144 # define G_GSIZE_FORMAT "u"
145 # endif
146 #endif
129 147
130 #define GAIM_WEBSITE "http://gaim.sourceforge.net/" 148 #define GAIM_WEBSITE "http://gaim.sourceforge.net/"
131 149
132 #endif /* _GAIM_INTERNAL_H_ */ 150 #endif /* _GAIM_INTERNAL_H_ */