summaryrefslogtreecommitdiff
path: root/libc/include/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/resolv.h')
-rw-r--r--libc/include/resolv.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/include/resolv.h b/libc/include/resolv.h
index 7ab7f8779..30ea8776b 100644
--- a/libc/include/resolv.h
+++ b/libc/include/resolv.h
@@ -15,14 +15,12 @@
# ifdef _LIBC_REENTRANT
# include <tls.h>
-# if USE___THREAD
-# undef _res
-# ifndef NOT_IN_libc
-# define __resp __libc_resp
-# endif
-# define _res (*__resp)
-extern __thread struct __res_state *__resp attribute_tls_model_ie;
+# undef _res
+# ifndef NOT_IN_libc
+# define __resp __libc_resp
# endif
+# define _res (*__resp)
+extern __thread struct __res_state *__resp attribute_tls_model_ie;
# else
# ifndef __BIND_NOSTATIC
# undef _res