Skip to content

Commit

Permalink
fix clang
Browse files Browse the repository at this point in the history
  • Loading branch information
thraneh committed Nov 23, 2024
1 parent 9983c42 commit e74de32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/compat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

#if defined(__APPLE__)
#if defined(__arm64__)
#ifdef __cpp_lib_hardware_interference_size // note! not supported by clang19
static_assert(std::hardware_destructive_interference_size == 128);
static_assert(std::hardware_constructive_interference_size == 128);
#endif
// #ifdef __cpp_lib_hardware_interference_size // note! not supported by clang19
// static_assert(std::hardware_destructive_interference_size == 128);
// static_assert(std::hardware_constructive_interference_size == 128);
// #endif
#else // not __arm64__
static_assert(std::hardware_destructive_interference_size == 64);
static_assert(std::hardware_constructive_interference_size == 64);
Expand Down

0 comments on commit e74de32

Please sign in to comment.