2004-10-22 Roland McGrath <roland@frob.com>
[glibc.git] / include / tls.h
blobffd3e4e70c812a6ef38f7fc10405a3eb057bc4a6
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 USE_TLS && HAVE___THREAD \
9 && (!defined NOT_IN_libc || defined IS_IN_libpthread)
11 # define USE___THREAD 1
13 #else
15 # define USE___THREAD 0
17 #endif
19 #endif