summaryrefslogtreecommitdiff
path: root/lib/mbsinit.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-07-17 18:20:36 +0200
committerBruno Haible <bruno@clisp.org>2021-07-17 18:20:36 +0200
commit12b5b00f93c6433c3df8176fc9674d7600f8b268 (patch)
treebe5e4302810d0367b4beb0cda9ab81048229603d /lib/mbsinit.c
parent18a9101c9f60bdc8f59da27cc1c6a161abd02c9d (diff)
downloadgnulib-12b5b00f93c6433c3df8176fc9674d7600f8b268.tar.gz
Don't use '#pragma weak' for thread functions in Linux/glibc>=2.34.
Suggested by Florian Weimer <fweimer@redhat.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2021-04/msg00211.html>. * m4/threadlib.m4 (gl_PTHREADLIB_BODY): Set gl_pthread_in_glibc and set LIBPMULTITHREAD accordingly. (gl_STDTHREADLIB_BODY): Update comments. (gl_THREADLIB_BODY): Define USE_POSIX_THREADS_FROM_LIBC. * lib/glthread/thread.h (c11_threads_in_use): Define to 1 if all POSIX thread functions are in libc. * lib/glthread/lock.h (c11_threads_in_use): Likewise. * lib/glthread/cond.h (c11_threads_in_use): Likewise. * lib/glthread/tls.h (c11_threads_in_use): Likewise.
Diffstat (limited to 'lib/mbsinit.c')
0 files changed, 0 insertions, 0 deletions