Re: [PATCHv2] libstdc++: Mark pieces of gnu-linux/os_support.h linux-specific

2023-02-03 Thread Jonathan Wakely via Gcc-patches
On Fri, 7 Oct 2022 at 21:45, Samuel Thibault wrote: > > This is notably needed because in glibc 2.34, the move of pthread functions > into libc.so happened for Linux only, not GNU/Hurd. > > The pthread_self() function can also always be used fine as it is on > GNU/Hurd. Sorry for the delay, I'm go

[PATCHv2] libstdc++: Mark pieces of gnu-linux/os_support.h linux-specific

2022-10-07 Thread Samuel Thibault via Gcc-patches
This is notably needed because in glibc 2.34, the move of pthread functions into libc.so happened for Linux only, not GNU/Hurd. The pthread_self() function can also always be used fine as it is on GNU/Hurd. libstdc++-v3/ChangeLog: * config/os/gnu-linux/os_defines.h [!__linux__]