summaryrefslogtreecommitdiff
path: root/libiberty/pex-djgpp.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-02-04 19:42:19 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-02-04 19:51:26 +0000
commit0d1aabb60ec66bffbc9a3269f6ca85150f259564 (patch)
treea0ee3a7c4e59061652ce3da128d50659e61d6b2c /libiberty/pex-djgpp.c
parentda72e0fd20f87bb523a81a505c00546d3622e9dd (diff)
downloadgcc-0d1aabb60ec66bffbc9a3269f6ca85150f259564.tar.gz
libstdc++: Allow Clang to use <stdatomic.h> before C++23
There is code that only expects to be compiled with clang++ and uses its <stdatomic.h>, which works because Clang supports the _Atomic specifier in C++. The addition of <stdatomic.h> to libstdc++ broke this code, as now it finds the C++ header instead, which is empty for any standard mode before C++23. This change allows that code to keep working as before, by forwarding to clang's <stdatomic.h>. libstdc++-v3/ChangeLog: * include/c_compatibility/stdatomic.h [__clang__]: Use #include_next <stdatomic.h>.
Diffstat (limited to 'libiberty/pex-djgpp.c')
0 files changed, 0 insertions, 0 deletions