OSDN Git Service

jmp-unwind.c: add hidden _longjmp_unwind
[uclinux-h8/uClibc.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 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