]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300967:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Jun 2016 11:45:45 +0000 (11:45 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Jun 2016 11:45:45 +0000 (11:45 +0000)
commitb2a0fa7e074e29ae4cd8aff04c7b338987d5eed9
treed09b6200f65e82892f7f07b1623f2d2a86cca962
parent2cde7450b326e7a999e27358aaa6290286863229
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@301839 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/cdefs.h