qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 2/4] softfloat: Avoid uint16 type conflict on Darwin
Date: Mon, 31 Oct 2011 19:42:13 +0000

On 31 October 2011 19:18, Andreas Färber <address@hidden> wrote:
> --- a/fpu/softfloat.h
> +++ b/fpu/softfloat.h
> @@ -54,6 +54,9 @@ these four paragraphs for those parts of this code that are 
> retained.
>  | to the same as `int'.
>  
> *----------------------------------------------------------------------------*/
>  typedef uint8_t flag;
> +#ifdef __APPLE__
> +#define uint16 qemu_uint16
> +#endif
>  typedef uint8_t uint8;
>  typedef int8_t int8;
>  #ifndef _AIX

I hate this, but I don't think I quite hate it enough to leave compilation
on Macs broken in 1.0...

Ideally we should just make a decision about whether we want option
(1) or (2) from
http://permalink.gmane.org/gmane.comp.emulators.qemu/115848

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]