Mercurial > pidgin
comparison src/internal.h @ 10588:529111933c9c
[gaim-migrate @ 11993]
The glib G_GINT64_MODIFIER and friends are actually correct. There is a bug in gcc < 3.4.1 that wasn't recognizing the native win32 format token
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 11 Feb 2005 03:51:26 +0000 |
parents | 151498407e23 |
children | 0f7452b1f777 |
comparison
equal
deleted
inserted
replaced
10587:c7458b544b15 | 10588:529111933c9c |
---|---|
124 | 124 |
125 #ifdef _WIN32 | 125 #ifdef _WIN32 |
126 #include "win32dep.h" | 126 #include "win32dep.h" |
127 #endif | 127 #endif |
128 | 128 |
129 /* stupid, stupid, stupid */ | |
130 /* This is a workaround for the fact that G_GINT64_MODIFIER and | |
131 * G_GUINT64_FORMAT are wrong, even in Glib >= 2.4 */ | |
132 #ifdef _WIN32 | |
133 # undef G_GINT64_MODIFIER | |
134 # define G_GINT64_MODIFIER "ll" | |
135 # undef G_GUINT64_FORMAT | |
136 # define G_GUINT64_FORMAT "llu" | |
137 #endif | |
138 | |
139 /* ugly ugly ugly */ | 129 /* ugly ugly ugly */ |
140 /* This is a workaround for the fact that G_GINT64_MODIFIER and G_GSIZE_FORMAT | 130 /* This is a workaround for the fact that G_GINT64_MODIFIER and G_GSIZE_FORMAT |
141 * are only defined in Glib >= 2.4 */ | 131 * are only defined in Glib >= 2.4 */ |
142 #ifndef G_GINT64_MODIFIER | 132 #ifndef G_GINT64_MODIFIER |
143 # if GLIB_SIZEOF_LONG == 8 | 133 # if GLIB_SIZEOF_LONG == 8 |