summaryrefslogtreecommitdiffstats
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:36:21 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:36:21 +0000
commitea3109b772d7eb7abac01640f7c00fa1eafbd8ca (patch)
treed57c78470a935c9185f3d378dea9fd1c4605f0dc /libc/inet/resolv.c
parentfedaf715da59d4aa12400936a12f3309bb8fe9b1 (diff)
downloaduClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.bz2
uClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.xz
Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS related
stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__. This is in preparation on trunk merge to make TLS compatible with LT (new) and NPTL. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c4
1 files changed, 2 insertions, 2 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)
{