diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-01-30 13:11:18 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-01-30 13:11:18 +0000 |
commit | 029d7694348cbf199b6b64fce6111eba10e35eeb (patch) | |
tree | f68d9fd6d74ebe08142f3512cb61d3f929c87b3c /qtest.c | |
parent | d2bc6e1f62241085351005c88bed0b576b23da91 (diff) |
linux-user/signal.c: Rename MC_* definessparc-buildfix
The SPARC code in linux-user/signal.c defines a set of
MC_* constants. On some SPARC hosts these are also defined
by sys/ucontext.h, resulting in build failures:
linux-user/signal.c:2786:0: error: "MC_NGREG" redefined [-Werror]
#define MC_NGREG 19
In file included from /usr/include/signal.h:302:0,
from include/qemu/osdep.h:86,
from linux-user/signal.c:19:
/usr/include/sparc64-linux-gnu/sys/ucontext.h:59:0: note: this is the location of the previous definition
# define MC_NGREG __MC_NGREG
Rename all these constants to SPARC_MC_* to avoid the clash.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
This has just started causing failures on the SPARC build
box I use for merge tests (presumably due to a system
header update), so I'm planning to apply this to master as
a buildfix.
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions