aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disas.c b/disas.c
index 715c7d2d6c..83c8826b4c 100644
--- a/disas.c
+++ b/disas.c
@@ -250,7 +250,7 @@ void disas(FILE *out, void *code, unsigned long size)
#elif defined(__x86_64__)
disasm_info.mach = bfd_mach_x86_64;
print_insn = print_insn_i386;
-#elif defined(__powerpc__)
+#elif defined(_ARCH_PPC)
print_insn = print_insn_ppc;
#elif defined(__alpha__)
print_insn = print_insn_alpha;