HomeFreeBSD

MFC r300967:

Description

MFC r300967:

Stop exposing the C11 _Atomic() macro in <sys/cdefs.h>, when compiling
for C++. It clashes with the one in libc++'s <atomic> header.

(Previously, the _Atomic() macro was defined in <stdatomic.h>, which is
only for use with C11, but for various reasons it was moved to its
current location in r251804.)

Discussed with: bdrewery, ed

Details

Provenance
dimAuthored on
Parents
rS301838: swap_dev_info() does not require Giant, so Giant locking around
Branches
Unknown
Tags
Unknown