]> sourceware.org Git - newlib-cygwin.git/commit
Stop exposing the C11 _Atomic() macro in <sys/cdefs.h>, when compiling for C++.
authordim <dim@FreeBSD.org>
Tue, 4 Apr 2017 07:04:53 +0000 (09:04 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 4 Apr 2017 09:43:49 +0000 (11:43 +0200)
commite0dabc0e8dd6d9e2a21ceef124a1e4bf9f3d8aa3
tree3914823920c1a699ba51d5ff1d0f2635095f19c7
parent086730fb14c1c4171764e605d7510e33f0fc34ed
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
MFC after: 2 weeks
newlib/libc/include/sys/cdefs.h
This page took 0.030817 seconds and 5 git commands to generate.