aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:17:31 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:17:31 +0000
commit33321a413b7a4c734ec0a3da64bfbbd8c2b15716 (patch)
treecf98c02da82cedcb62e2249b25c54f43a485d67b
parentaea7be03006b0d9f63c3baf77a1875ec1d9b0b3f (diff)
downloadports-33321a413b7a4c734ec0a3da64bfbbd8c2b15716.tar.gz
ports-33321a413b7a4c734ec0a3da64bfbbd8c2b15716.zip
databases/tiledb: Simplify _xgetbv check
-rw-r--r--databases/tiledb/files/patch-external-src-blosc-shuffle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/tiledb/files/patch-external-src-blosc-shuffle.cc b/databases/tiledb/files/patch-external-src-blosc-shuffle.cc
index c72dfceb3e97..904b8fdd8e6e 100644
--- a/databases/tiledb/files/patch-external-src-blosc-shuffle.cc
+++ b/databases/tiledb/files/patch-external-src-blosc-shuffle.cc
@@ -5,7 +5,7 @@
https://software.intel.com/en-us/articles/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family
*/
+
-+#if defined(__clang_major__) && __clang_major__ < 9
++#if !defined(_xgetbv)
static inline uint64_t
_xgetbv(uint32_t xcr) {
uint32_t eax, edx;