Prepare use if IFUNC functions outside libc.so.
[platform/upstream/glibc.git] / include / tls.h
1 /* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess.  */
2
3 #ifndef _include_tls_h
4 #define _include_tls_h 1
5
6 #include_next <tls.h>
7
8 #if HAVE___THREAD && (!defined NOT_IN_libc || defined IS_IN_libpthread)
9
10 # define USE___THREAD 1
11
12 #else
13
14 # define USE___THREAD 0
15
16 #endif
17
18 #endif