Eric Blake <ebl...@redhat.com> 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 <peter.mayd...@linaro.org>
> Signed-off-by: Eric Blake <ebl...@redhat.com>
> ---
>
> 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 <james.ho...@imgtec.com>
    CC: Peter Maydell <peter.mayd...@linaro.org>
    Signed-off-by: Eric Blake <ebl...@redhat.com>
    Tested-by: James Hogan <james.ho...@imgtec.com>
    Signed-off-by: Markus Armbruster <arm...@redhat.com>

Reply via email to