From ffcd4962fe8d99185cefba1da65350160871ecd1 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sun, 16 Jan 2022 17:55:20 -0800 Subject: [PATCH] Fix clang bug again --- include/rexy/mpmc_queue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rexy/mpmc_queue.hpp b/include/rexy/mpmc_queue.hpp index 26f8f48..25602cb 100644 --- a/include/rexy/mpmc_queue.hpp +++ b/include/rexy/mpmc_queue.hpp @@ -54,7 +54,7 @@ namespace rexy{ #if defined(__cpp_lib_hardware_interference_size) //libc++ bug // 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; #else static constexpr size_t cacheline_size = 64;