From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WotY0-0005qQ-UP for qemu-devel@nongnu.org; Mon, 26 May 2014 07:58:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WotXx-0004Aq-PT for qemu-devel@nongnu.org; Mon, 26 May 2014 07:58:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WotXx-0004Ah-H7 for qemu-devel@nongnu.org; Mon, 26 May 2014 07:58:29 -0400 Date: Mon, 26 May 2014 13:58:24 +0200 From: Stefan Hajnoczi Message-ID: <20140526115824.GD10187@stefanha-thinkpad.redhat.com> References: <1400861741-16077-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400861741-16077-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , Peter Bartoli , Andreas =?iso-8859-1?Q?F=E4rber?= , qemu-devel@nongnu.org, patches@linaro.org 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 > Signed-off-by: Peter Maydell > --- > block/raw-posix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Stefan Hajnoczi