__stdio_WRITE: make code more readable. No code changes
[uclibc-ng.git] / include / tls.h
blobf88af405b4f36aabd28ad46fa43331bcc171cb81
1 /* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess. */
3 #ifndef _include_tls_h
4 #define _include_tls_h 1
6 #include_next <tls.h>
8 #if defined USE_TLS && USE_TLS && HAVE___THREAD \
9 && (!defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt)
11 # define USE___THREAD 1
13 #else
15 # define USE___THREAD 0
17 #endif
19 #endif