Skip to content
Snippets Groups Projects
Commit f0065f20 authored by Samuel Thibault's avatar Samuel Thibault Committed by Jonathan Wakely
Browse files

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


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__]
	(_GLIBCXX_NATIVE_THREAD_ID, _GLIBCXX_GTHREAD_USE_WEAK): Do not define.

Reviewed-by: default avatarJonathan Wakely <jwakely@redhat.com>
parent 8d2c5b61
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment