summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-03-23 12:42:41 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-03-24 10:12:23 +0000
commitbd517b4337dd9322b28945b72ae726f9cd269940 (patch)
tree31b2a99d5eb483a5beef875be916b342857a814a /qapi
parent08329701199449bde497570dcfdb9c86062baf20 (diff)
downloadqemu-bd517b4337dd9322b28945b72ae726f9cd269940.tar.gz
disas/microblaze: Remove unused REG_PC define
The REG_PC define in disas/microblaze.c clashes with a define in the Linux SPARC system headers: /home/pm215/qemu/disas/microblaze.c:162:0: error: "REG_PC" redefined [-Werror] #define REG_PC 32 /* PC */ In file included from /usr/include/signal.h:326:0, from /home/pm215/qemu/include/qemu/osdep.h:86, from /home/pm215/qemu/disas/microblaze.c:36: /usr/include/sparc64-linux-gnu/sys/ucontext.h:96:0: note: this is the location of the previous definition #define REG_PC (1) Since the code doesn't actually use the REG_PC define anywhere, the simplest fix is just to remove it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1490272961-1128-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions