-
Eric Blake authored
Commit 86f4b687 broke compilation on MIPS and SPARC, which have a preprocessor pollution of '#define mips 1' and '#define sparc 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', 'q_sparc' spelling. CC: James Hogan <james.hogan@imgtec.com> CC: Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Eric Blake <eblake@redhat.com>
Tested-by:
James Hogan <james.hogan@imgtec.com>
Signed-off-by:
Markus Armbruster <armbru@redhat.com>Eric Blake authoredCommit 86f4b687 broke compilation on MIPS and SPARC, which have a preprocessor pollution of '#define mips 1' and '#define sparc 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', 'q_sparc' spelling. CC: James Hogan <james.hogan@imgtec.com> CC: Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Eric Blake <eblake@redhat.com>
Tested-by:
James Hogan <james.hogan@imgtec.com>
Signed-off-by:
Markus Armbruster <armbru@redhat.com>
Loading