mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(macOS): build (#8)
This commit is contained in:
@@ -193,7 +193,7 @@ public:
|
||||
size_t capacity() const noexcept { return capacity_ - 1; }
|
||||
|
||||
private:
|
||||
#ifdef __cpp_lib_hardware_interference_size
|
||||
#if defined(__cpp_lib_hardware_interference_size) && !defined(__APPLE__)
|
||||
static constexpr size_t kCacheLineSize =
|
||||
std::hardware_destructive_interference_size;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user