[PATCH] Fix x86emu builds when using non-gnu compilers

Tiago Vignatti tiago.vignatti at nokia.com
Mon Mar 29 06:08:06 PDT 2010

On Tue, Mar 23, 2010 at 02:03:53AM +0100, ext Alan Coopersmith wrote:
> Before this fix, the u64 type would not be defined, causing
> x86emu/sys.c to fail to build:
> "sys.c", line 102: syntax error before or at: ldq_u
> "sys.c", line 102: syntax error before or at: *
> Since 64-bit types are now required by x86emu, assumes all platforms
> either have a 64-bit long or a 64-bit long long (defined by C99).
> Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
> Acked-by: Adam Jackson <ajax at redhat.com>
> Acked-by: Matt Turner <mattst88 at gmail.com>
> ---

Compiled-by: Tiago Vignatti <tiago.vignatti at nokia.com> (on ARM architecture,
emulated by Scratchbox2).

Watching the other replies from Keith, I've seen he's not so enthusiastic with
the idea of not use stdint.h. Anyway, if this patch arrives on xserver, I'll
be pushing to my libx86 tree either.


More information about the xorg-devel mailing list