summaryrefslogtreecommitdiff
path: root/include/tls.h
blob: ffd3e4e70c812a6ef38f7fc10405a3eb057bc4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This file defines USE___THREAD to 1 or 0 to cut down on the #if mess.  */

#ifndef _include_tls_h
#define _include_tls_h 1

#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

#endif