[xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

Alan Coopersmith alan.coopersmith at oracle.com
Tue Dec 20 10:35:17 PST 2011


On 12/20/11 09:02, Mark Kettenis 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__.

Well, we don't claim to support Win32 or Win64 directly in X code either,
only via things like CygWin that presumably use more compatible ABI models.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list