From d9f4f0718c39bd1c8806c158e03e43d383a49d9e Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Wed, 7 May 2014 18:41:52 +0000 Subject: Fix build on ppc. (base gcc + libc++?) Submitted by: jhibbits (via irc) --- emulators/qemu-devel/files/patch-include-qemu-common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emulators/qemu-devel/files/patch-include-qemu-common.h (limited to 'emulators/qemu-devel/files/patch-include-qemu-common.h') diff --git a/emulators/qemu-devel/files/patch-include-qemu-common.h b/emulators/qemu-devel/files/patch-include-qemu-common.h new file mode 100644 index 000000000000..b4e30fed5815 --- /dev/null +++ b/emulators/qemu-devel/files/patch-include-qemu-common.h @@ -0,0 +1,12 @@ +--- a/include/qemu-common.h ++++ b/include/qemu-common.h +@@ -445,7 +445,9 @@ void qemu_hexdump(const char *buf, FILE + #define ALL_EQ(v1, v2) vec_all_eq(v1, v2) + /* altivec.h may redefine the bool macro as vector type. + * Reset it to POSIX semantics. */ ++#ifndef __cplusplus + #define bool _Bool ++#endif + #elif defined __SSE2__ + #include + #define VECTYPE __m128i -- cgit v1.2.3