[xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4
slyfox at gentoo.org
Tue Dec 20 09:27:58 PST 2011
On Tue, 20 Dec 2011 18:02:18 +0100 (CET)
Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> > Date: Tue, 20 Dec 2011 08:41:44 -0800
> > From: Alan Coopersmith <alan.coopersmith at oracle.com>
> > Are you sure that every real amd64 platform that uses __amd64__
> > defines __LP64__ as well?
> Not sure if you'd call 64-bit Windows a real amd64 platform, but given
> that Microsoft made the brilliant decision to use the LLP64 mode, it
> certainly won't define __LP64__.
The whole #ifdefery is about sizeof long ==8, right?
So the code does not work correctly on MSVC in it's present form
and will work correctly with path.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the xorg-devel