HomeFreeBSD

stdatomic: Only use clang atomics if __clang__ is defined

Description

stdatomic: Only use clang atomics if clang is defined

GCC 14 defines has_extension(c_atomic) but does not support
c11_atomic_*, so require clang for the CLANG_ATOMICS case.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D46001

Details

Provenance
jhbAuthored on Jul 19 2024, 5:01 PM
Reviewer
imp
Differential Revision
D46001: stdatomic: Only use clang atomics if __clang__ is defined
Parents
rGcf5e6370f15c: cxgbe(4): Changes to ULD list management.
Branches
Unknown
Tags
Unknown