aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-include_qemu-common.h
blob: 9a02c4025261483ffb62c093faa745180fdf0875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- include/qemu-common.h.orig	2016-03-30 18:14:31 UTC
+++ include/qemu-common.h
@@ -469,7 +469,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