]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Remove unwanted STDC_HEADERS macro from c++config.h [PR79147]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 19 Sep 2025 11:11:26 +0000 (12:11 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 25 Sep 2025 13:51:50 +0000 (14:51 +0100)
commit0959f0e0cee6ecff4242cf2f1e5c8db29b09904b
treead52bdcbca956a4ac9ddc4e1e8d23b70aa9a4c31
parent181e7bea46ceb0ee2c5ee2d95dab7ff97158d7b3
libstdc++: Remove unwanted STDC_HEADERS macro from c++config.h [PR79147]

Similar to r16-4034-g1953939243e1ab, this comments out another macro
that Autoconf adds to the generated config.h but which is not wanted in
the c++config.h file that we install.

There's no benefit to defining _GLIBCXX_STDC_HEADERS in user code, so we
should just prevent it from being defined.

libstdc++-v3/ChangeLog:

PR libstdc++/79147
PR libstdc++/103650
* include/Makefile.am (c++config.h): Adjust sed command to
comment out STDC_HEADERS macro.
* include/Makefile.in: Regenerate.
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in