mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on ppc. (base gcc + libc++?)
Submitted by: jhibbits (via irc)
This commit is contained in:
parent
dd660ea58d
commit
d9f4f0718c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353190
1 changed files with 12 additions and 0 deletions
12
emulators/qemu-devel/files/patch-include-qemu-common.h
Normal file
12
emulators/qemu-devel/files/patch-include-qemu-common.h
Normal file
|
@ -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 <emmintrin.h>
|
||||
#define VECTYPE __m128i
|
Loading…
Add table
Reference in a new issue