Fix clang bug again
This commit is contained in:
parent
4cdcf6e165
commit
ffcd4962fe
@ -54,7 +54,7 @@ namespace rexy{
|
|||||||
#if defined(__cpp_lib_hardware_interference_size)
|
#if defined(__cpp_lib_hardware_interference_size)
|
||||||
//libc++ bug
|
//libc++ bug
|
||||||
// https://bugs.llvm.org/show_bug.cgi?id=41423
|
// https://bugs.llvm.org/show_bug.cgi?id=41423
|
||||||
#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 11000
|
#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 12000
|
||||||
static constexpr size_t cacheline_size = std::hardware_destructive_interference_size;
|
static constexpr size_t cacheline_size = std::hardware_destructive_interference_size;
|
||||||
#else
|
#else
|
||||||
static constexpr size_t cacheline_size = 64;
|
static constexpr size_t cacheline_size = 64;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user