diff options
| author | Eric Blake | 2016-02-02 15:51:41 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2016-02-08 17:29:57 +0100 |
| commit | 86ae191163d48ff4ff9d9996868e6cfe92a82449 (patch) | |
| tree | ca8b02e73db0fbc2f2a0629f4b25b51c42c27f3d /include/exec/exec-all.h | |
| parent | qmp: Don't abuse stack to track qmp-output root (diff) | |
| download | qemu-86ae191163d48ff4ff9d9996868e6cfe92a82449.tar.gz qemu-86ae191163d48ff4ff9d9996868e6cfe92a82449.tar.xz qemu-86ae191163d48ff4ff9d9996868e6cfe92a82449.zip | |
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 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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
