HomeFreeBSD

libcxx: use __SIZEOF_LONG__ == 8 instead of __LP64__

Description

libcxx: use SIZEOF_LONG == 8 instead of LP64

For MFC, 64bit mips is excluded from the new mode of wait/wake, because
it uses 32bit __cxx_contention_t, as noted by jrtc27.

(cherry picked from commit 25b18d8935a5ee933d5465f5db41ad58c26590f9)

Details

Provenance
kibAuthored on Jan 24 2023, 10:03 AM
Parents
rG17262e08af4e: libcxx: Implement atomic::wait/notify using _umtx_op(2) for 64bit arches
Branches
Unknown
Tags
Unknown