#if USE_TLS && HAVE___THREAD
/* With __thread support, this per-thread variable is used in all cases. */
__thread struct __res_state _res;
+extern __thread struct __res_state __libc_res __attribute__ ((alias ("_res")))
+ attribute_hidden;
+# define _res __libc_res
#else
/* The resolver state for use by single-threaded programs. */
struct __res_state _res;