lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 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 defined USE_TLS && USE_TLS && HAVE___THREAD \ | ||||
9 | && (!defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt) | ||||
10 | |||||
11 | # define USE___THREAD 1 | ||||
12 | |||||
13 | #else | ||||
14 | |||||
15 | # define USE___THREAD 0 | ||||
16 | |||||
17 | #endif | ||||
18 | |||||
19 | #endif |