mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
databases/tiledb: Simplify _xgetbv check
This commit is contained in:
parent
aea7be0300
commit
33321a413b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user