Re: GLib and 64-bit Windows
- From: Jake Goulding <goulding vivisimo com>
- To: GTK Devel List <gtk-devel-list gnome org>
- Cc: Tor Lillqvist <tml iki fi>, Morten Welinder <mwelinder gmail com>
- Subject: Re: GLib and 64-bit Windows
- Date: Sat, 03 Mar 2007 17:02:44 -0500
Morten Welinder wrote:
">=", I think, but yes. You need to make sure configure defines gsize
as unsigned
long long, and gssize as long long.
Well, gsize is actually fine. There is a "native" size_t type that is 8
bytes. long is the issue here, as it is only 4 bytes. long long is 8
bytes, as you suggested.
You might also want to check...
* the ptrdiff_t type. If it has a different size that size_t, there
might be a bit of fun hidden there too.
Thankfully, this is fine. sizeof(ptrdiff_t) == 8.
* if NULL is an integer type. No, really. If it is defined as just
"0" or "0L", you are in for a world of hurt.
It should be simplest to override the definition in that case.
I'm not even sure where or how I could check for this. Any clues?
Thanks for the tips!
-Jake
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]