summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-bc
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-bc')
-rw-r--r--emulators/qemu-devel/files/patch-bc12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-bc b/emulators/qemu-devel/files/patch-bc
new file mode 100644
index 000000000000..7ad83440d48b
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-bc
@@ -0,0 +1,12 @@
+Index: qemu/i386-dis.c
+@@ -2896,6 +2896,10 @@
+ OP_E (bytemode, sizeflag);
+ }
+
++#ifndef PRIx64
++#define PRIx64 "llx"
++#endif
++
+ static void
+ print_operand_value (buf, hex, disp)
+ char *buf;