Skip to content

Commit

Permalink
Don't assume that WaitOnAddress is not statically available on ARM/AR…
Browse files Browse the repository at this point in the history
…M64 (#2864)
  • Loading branch information
AlexGuteniev authored Jul 21, 2022
1 parent c905707 commit 4b8f997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/std/tests/P1135R6_atomic_wait_vista/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "test_atomic_wait.hpp"

int main() {
#if defined(_M_IX86) || defined(_M_X64) && !defined(_M_ARM64EC)
assert(__std_atomic_set_api_level(__std_atomic_api_level::__has_srwlock) == __std_atomic_api_level::__has_srwlock);
test_atomic_wait();
#endif // defined(_M_IX86) || defined(_M_X64) && !defined(_M_ARM64EC)
}

0 comments on commit 4b8f997

Please sign in to comment.