Re: [Qemu-devel] [PATCH] qapi: Fix compilation failure on sparc

2016-02-02 Thread Markus Armbruster
Eric Blake writes: > On 02/02/2016 01:04 PM, Markus Armbruster wrote: >> 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 back

Re: [Qemu-devel] [PATCH] qapi: Fix compilation failure on sparc

2016-02-02 Thread Eric Blake
On 02/02/2016 01:04 PM, Markus Armbruster wrote: > 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

Re: [Qemu-devel] [PATCH] qapi: Fix compilation failure on sparc

2016-02-02 Thread Markus Armbruster
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' spelli

[Qemu-devel] [PATCH] qapi: Fix compilation failure on sparc

2016-02-02 Thread Eric Blake
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 Signe