diff options
Diffstat (limited to 'include/tls.h')
-rw-r--r-- | include/tls.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/tls.h b/include/tls.h new file mode 100644 index 0000000000..2e20a45582 --- /dev/null +++ b/include/tls.h @@ -0,0 +1,14 @@ +/* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess. */ + +#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 |