mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
63af556fef
* elf/tst-tls10.c (dummy): Make hidden instead of static. * elf/tst-tlsmod7.c (dummy): Likewise. * elf/tst-tlsmod8.c (dummy): Likewise. * elf/tst-tlsmod9.c (dummy): Likewise. 2003-04-22 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise. * include/tls.h: Protect against multiple inclusion.
20 lines
312 B
C
20 lines
312 B
C
/* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess. */
|
|
|
|
#ifndef _include_tls_h
|
|
#define _include_tls_h 1
|
|
|
|
#include_next <tls.h>
|
|
|
|
#if USE_TLS && HAVE___THREAD \
|
|
&& (!defined NOT_IN_libc || defined IS_IN_libpthread)
|
|
|
|
# define USE___THREAD 1
|
|
|
|
#else
|
|
|
|
# define USE___THREAD 0
|
|
|
|
#endif
|
|
|
|
#endif
|