git: 33321a413b7a - main - databases/tiledb: Simplify _xgetbv check

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 19:26:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33321a413b7a4c734ec0a3da64bfbbd8c2b15716

commit 33321a413b7a4c734ec0a3da64bfbbd8c2b15716
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:17:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:17:31 +0000

    databases/tiledb: Simplify _xgetbv check
---
 databases/tiledb/files/patch-external-src-blosc-shuffle.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;