mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
In file included from hash.c:7: In file included from ./xxhash.h:2934: /usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector' static __inline__ vector bool char __ATTRS_o_ai ^ /usr/lib/clang/11.0.1/include/altivec.h:56:10: error: unknown type name 'vector' vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c);
10 lines
302 B
C
10 lines
302 B
C
--- xxhash.h.orig 2021-03-31 12:18:19 UTC
|
|
+++ xxhash.h
|
|
@@ -2409,6 +2409,7 @@ XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(co
|
|
# if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__)
|
|
# define __APPLE_ALTIVEC__
|
|
# endif
|
|
+# define vector __vector
|
|
# include <altivec.h>
|
|
# endif
|
|
|