mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
53da80ab88
* inet/herrno.c (__libc_h_errno): Likewise. * resolv/res_libc.c (__libc_res): Likewise. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. (__res_state) [! USE___THREAD]: Don't define as weak. * csu/Versions: Revert last change. * resolv/Versions: Revert last change. * Makerules ($(common-objpfx)%.make): New pattern rule. * tls.make.c: New file. * Makefile (distribute): Add it.
10 lines
172 B
C
10 lines
172 B
C
/* This produces a makefile fragment saying `use-thread = yes' or no. */
|
|
|
|
#include <tls.h>
|
|
|
|
#if USE___THREAD
|
|
@@@ use-thread = yes @@@
|
|
#else
|
|
@@@ use-thread = no @@@
|
|
#endif
|