void-packages/srcpkgs/radare2/patches/ppc.patch

14 lines
296 B
Diff

--- a/libr/anal/p/anal_ppc_cs.c
+++ b/libr/anal/p/anal_ppc_cs.c
@@ -596,6 +596,10 @@ static char *shrink(char *op) {
return op;
}
+#ifdef PPC
+#undef PPC
+#endif
+
#define CSINC PPC
#define CSINC_MODE \
((a->config->bits == 64) ? CS_MODE_64 : (a->config->bits == 32) ? CS_MODE_32 : 0) \