diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-08-18 00:13:51 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-08-24 13:44:38 +0100 |
commit | e64ad2c84f5ff1922b3f4f5a9af0ad03280e52e1 (patch) | |
tree | d56aa96cadab080182e57d40686a0aa24bfe6bd1 /gcc/fortran/data.cc | |
parent | c47430bba62a49a2ca10c99380ce87ceafca8e68 (diff) | |
download | gcc-e64ad2c84f5ff1922b3f4f5a9af0ad03280e52e1.zip gcc-e64ad2c84f5ff1922b3f4f5a9af0ad03280e52e1.tar.gz gcc-e64ad2c84f5ff1922b3f4f5a9af0ad03280e52e1.tar.bz2 |
libstdc++: Tweak some preprocessor conditions for feature tests
Update a preprocessor condition using __cplusplus and _GLIBCXX_HOSTED
to use the relevant feature test macro for <syncstream>.
Also add comments to some conditions saying which C++ standard revision
the check corresponds to.
libstdc++-v3/ChangeLog:
* include/std/atomic: Add comment to #ifdef and fix indentation.
* include/std/ostream: Check __glibcxx_syncbuf instead of
__cplusplus and _GLIBCXX_HOSTED.
* include/std/thread: Add comment to #ifdef.
Diffstat (limited to 'gcc/fortran/data.cc')
0 files changed, 0 insertions, 0 deletions