diff options
author | Be <be@mixxx.org> | 2021-07-19 15:50:05 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2021-07-19 15:50:05 -0500 |
commit | 3c7f810c6eb260cbe53390674364f75c218d3608 (patch) | |
tree | 9ea90b950506b148f387828d7ea7792e98eac6c2 /lib | |
parent | 5a700ab3096b270dbef62cc017d26c05edd0f8d1 (diff) |
SPSCQueue: include BSD in hack around LLVM bug
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h b/lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h index d09f0d3f10..33b87a05bf 100644 --- a/lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h +++ b/lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h @@ -189,7 +189,7 @@ private: // on macOS there is a bug in libc++ where __cpp_lib_hardware_interference_size // is defined but std::hardware_destructive_interference_size is not actually implemented // https://bugs.llvm.org/show_bug.cgi?id=41423 -#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__) +#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__) && ! defined(__BSD__) static constexpr size_t kCacheLineSize = std::hardware_destructive_interference_size; #else |