diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/resolv.c | 4 | ||||
-rw-r--r-- | libc/misc/internals/errno.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index ecc7ce5cf..7544faaad 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -1269,7 +1269,7 @@ struct __res_state _res __attribute__((section (".bss"))); #else struct __res_state _res __attribute__((section (".bss"))) attribute_hidden; -# if defined __UCLIBC_HAS_THREADS_NATIVE__ +# if defined __UCLIBC_HAS_TLS__ # undef __resp __thread struct __res_state *__resp = &_res; /* @@ -1288,7 +1288,7 @@ struct __res_state *__resp = &_res; #endif #ifdef L_res_state -# if defined __UCLIBC_HAS_THREADS_NATIVE__ +# if defined __UCLIBC_HAS_TLS__ struct __res_state * __res_state (void) { diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c index a89b5addf..e584f21f8 100644 --- a/libc/misc/internals/errno.c +++ b/libc/misc/internals/errno.c @@ -1,6 +1,6 @@ #include <features.h> -#ifdef __UCLIBC_HAS_THREADS_NATIVE__ +#ifdef __UCLIBC_HAS_TLS__ __thread int errno; __thread int h_errno; |