blob: 198e5e22c3c7cd5f2789a010e71ceffb8262c551 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
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
|