aboutsummaryrefslogtreecommitdiff
path: root/ppc-dis.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-12 12:36:11 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-12 12:36:11 +0000
commitaba1d00a41d5aff5fc78bf924627b89a298a5a5a (patch)
tree7b415dfff2b0769c763d94d9def98ed460dd7df4 /ppc-dis.c
parenta2a45a26c94e5b3feacb24b8e63c56a7132122fc (diff)
Work around OpenSolaris sys/regset.h namespace pollution
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'ppc-dis.c')
-rw-r--r--ppc-dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppc-dis.c b/ppc-dis.c
index ca5765a60e..ffdbec18db 100644
--- a/ppc-dis.c
+++ b/ppc-dis.c
@@ -572,6 +572,7 @@ const struct powerpc_operand powerpc_operands[] =
/* The DS field in a DS form instruction. This is like D, but the
lower two bits are forced to zero. */
+#undef DS
#define DS DQ + 1
{ 0xfffc, 0, NULL, NULL,
PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED | PPC_OPERAND_DS },