]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Check feature test macro for jthread in <stop_token>
authorJonathan Wakely <jwakely@redhat.com>
Mon, 2 Jun 2025 22:25:43 +0000 (23:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 3 Jun 2025 10:24:15 +0000 (11:24 +0100)
commitdcc14761f34f9a9c8a6ed8f0f4e276fa8ef4d950
tree36ee86a2029ffca7ad0ad7a0efca0dd0131a082f
parentb32bf304793047f09789a11cca983b144552db8b
libstdc++: Check feature test macro for jthread in <stop_token>

Check the appropriate feature test macro instead of checking that
__cplusplus >= 201703L.

libstdc++-v3/ChangeLog:

* include/std/stop_token: Check __glibcxx_jthread instead of
__cplusplus.
libstdc++-v3/include/std/stop_token