diff options
Diffstat (limited to 'emulators/qemu/files/patch-include_qemu-common.h')
-rw-r--r-- | emulators/qemu/files/patch-include_qemu-common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-include_qemu-common.h b/emulators/qemu/files/patch-include_qemu-common.h new file mode 100644 index 000000000000..198e5e22c3c7 --- /dev/null +++ b/emulators/qemu/files/patch-include_qemu-common.h @@ -0,0 +1,12 @@ +--- include/qemu-common.h.orig 2015-11-03 20:01:34 UTC ++++ include/qemu-common.h +@@ -568,7 +568,9 @@ void qemu_hexdump(const char *buf, FILE + #define VEC_OR(v1, v2) ((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 <emmintrin.h> + #define VECTYPE __m128i |