[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64

On 23/1/08 02:30, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> That'll do nicely :)
> Can I get some feedback from the people-who-make-decisions if a patch
> changing all 'unsigned long's in the public .h files to uintptr_t's
> would be accepted? If not, what type should I use?
> Under Windows, I'm already using typedef's to create int8_t, uint8_t,
> etc, so I don't have a problem if the uintptr_t type isn't valid in
> windows natively either.

See my previous mail. Yes, we might, but if we don't there is hardly much
downside for you. In this case, well, I suppose it would make the headers
clearer. The approach for upstream would be to typedef a xen_uintptr_t,
def'ed to unsigned long in old values of XEN_INTERFACE_VERSION and uintptr_t

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.