Commit 25b18d89 authored by Konstantin Belousov's avatar Konstantin Belousov
Browse files

libcxx: use __SIZEOF_LONG__ == 8 instead of __LP64__

for CHERI.

Requested by:	arichardson
Reviewed by:	arichardson, emaste, imp
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:
parent 9147969b
......@@ -77,7 +77,7 @@ static void __libcpp_platform_wake_by_address(__cxx_atomic_contention_t const vo
const_cast<__cxx_atomic_contention_t*>(__ptr), 0);
#elif defined(__FreeBSD__) && defined(__LP64__)
#elif defined(__FreeBSD__) && __SIZEOF_LONG__ == 8
static void __libcpp_platform_wait_on_address(__cxx_atomic_contention_t const volatile* __ptr,
__cxx_contention_t __val)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment