OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fdc11c
)
ia64-dis.c: Undefine ABS to avoid clash with glib
author
Peter Maydell
<peter.maydell@linaro.org>
Sat, 29 Oct 2011 11:58:26 +0000
(12:58 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 1 Nov 2011 16:50:12 +0000
(11:50 -0500)
Undefine ABS to avoid a clash with the macro that glib.h
helpfully defines for us (and a resulting build failure
on ia64 hosts).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ia64-dis.c
patch
|
blob
|
history
diff --git
a/ia64-dis.c
b/ia64-dis.c
index
2886df3
..
2a103e6
100644
(file)
--- a/
ia64-dis.c
+++ b/
ia64-dis.c
@@
-781,6
+781,9
@@
ext_inc3 (const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep)
return 0;
}
+/* glib.h defines ABS so we must undefine it to avoid a clash */
+#undef ABS
+
#define CST IA64_OPND_CLASS_CST
#define REG IA64_OPND_CLASS_REG
#define IND IA64_OPND_CLASS_IND