From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQhBt-0003Hz-1I for qemu-devel@nongnu.org; Tue, 02 Feb 2016 15:04:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQhBp-00012w-SD for qemu-devel@nongnu.org; Tue, 02 Feb 2016 15:04:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQhBp-00012s-MO for qemu-devel@nongnu.org; Tue, 02 Feb 2016 15:04:41 -0500 From: Markus Armbruster References: <1454439920-14661-1-git-send-email-eblake@redhat.com> Date: Tue, 02 Feb 2016 21:04:38 +0100 In-Reply-To: <1454439920-14661-1-git-send-email-eblake@redhat.com> (Eric Blake's message of "Tue, 2 Feb 2016 12:05:20 -0700") Message-ID: <877fimanft.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] qapi: Fix compilation failure on sparc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Peter Maydell , Michael Roth , Peter Crosthwaite , qemu-devel@nongnu.org, Luiz Capitulino , Paolo Bonzini , Richard Henderson Eric Blake writes: > Commit 86f4b687 broke compilation on sparc, which has a preprocessor > pollution of '#define sparc 1'. Treat it the same way as we do for > the pollution with 'unix', so that QMP remains backwards compatible > and only the C code needs to use the alternative 'q_sparc' spelling. > > CC: Peter Maydell > Signed-off-by: Eric Blake > --- > > Done as a followup to the same style of patch for MIPS; or we could > squash this into one patch. Applied to qapi-next squashed: qapi: Fix compilation failure on MIPS and SPARC Commit 86f4b687 broke compilation on MIPS and SPARC, which have a preprocessor pollution of '#define mips 1' and '#define space 1', respectively. Treat it the same way as we do for the pollution with 'unix', so that QMP remains backwards compatible and only the C code needs to use the alternative 'q_mips' spelling. CC: James Hogan CC: Peter Maydell Signed-off-by: Eric Blake Tested-by: James Hogan Signed-off-by: Markus Armbruster