diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-08-11 16:16:21 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-08-11 16:16:21 +0100 |
commit | 35e5294c4b779f8fc24fdc86464f999867332995 (patch) | |
tree | d4eea7286c05c275e55e0ef6d11723068128fcf2 /libgo/go | |
parent | 5bbb1f3000c57fd4d95969b30fa0e35be6d54ffb (diff) | |
download | gcc-35e5294c4b779f8fc24fdc86464f999867332995.zip gcc-35e5294c4b779f8fc24fdc86464f999867332995.tar.gz gcc-35e5294c4b779f8fc24fdc86464f999867332995.tar.bz2 |
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.
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions