Re: [Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX

2014-05-28 Thread Kevin Wolf
Am 26.05.2014 um 13:58 hat Stefan Hajnoczi geschrieben: > On Fri, May 23, 2014 at 05:15:41PM +0100, Peter Maydell wrote: > > In the MacOSX specific code in raw-posix.c we use the define > > LONG_LONG_MAX. This is actually a non-standard pre-C99 define; > > switch to using the standard LLONG_MAX ins

Re: [Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX

2014-05-26 Thread Stefan Hajnoczi
On Fri, May 23, 2014 at 05:15:41PM +0100, Peter Maydell wrote: > In the MacOSX specific code in raw-posix.c we use the define > LONG_LONG_MAX. This is actually a non-standard pre-C99 define; > switch to using the standard LLONG_MAX instead. > > This apparently fixes a compilation failure with cert

[Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX

2014-05-23 Thread Peter Maydell
In the MacOSX specific code in raw-posix.c we use the define LONG_LONG_MAX. This is actually a non-standard pre-C99 define; switch to using the standard LLONG_MAX instead. This apparently fixes a compilation failure with certain compiler/OS versions (though it is unclear which). Reported-by: Pete