[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX |
Date: |
Wed, 28 May 2014 14:51:16 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 instead.
> >
> > This apparently fixes a compilation failure with certain
> > compiler/OS versions (though it is unclear which).
> >
> > Reported-by: Peter Bartoli <address@hidden>
> > Signed-off-by: Peter Maydell <address@hidden>
> > ---
> > block/raw-posix.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
Thanks, applied to the block branch.
Kevin