]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix <stop_token> to compile without gthreads
authorJonathan Wakely <jwakely@redhat.com>
Tue, 11 Aug 2020 15:16:21 +0000 (16:16 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 18:07:59 +0000 (15:07 -0300)
commit6893543ed8817607233c3624348a93093b38fb57
treec815d9a333d230e4659c3ffcefa33d731099cade
parentfeb9cacb85b05b3700fa476ba66ae4716380600b
libstdc++: Fix <stop_token> to compile without gthreads

libstdc++-v3/ChangeLog:

* include/std/stop_token: Check _GLIBCXX_HAS_GTHREADS using
#ifdef instead of #if.
(stop_token::_S_yield()): Check _GLIBCXX_HAS_GTHREADS before
using __gthread_yield.
libstdc++-v3/include/std/stop_token
This page took 0.059145 seconds and 6 git commands to generate.