From eb7d589d072d63b72cd48052ed6c5b010cca9769 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 27 Oct 2011 12:38:43 +0200 Subject: pthreads: fix build when DNS resolver is not enabled. Resolver state is only available if DNS resolver is enabled. Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Carmelo Amoroso --- libpthread/linuxthreads/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads/manager.c') diff --git a/libpthread/linuxthreads/manager.c b/libpthread/linuxthreads/manager.c index 1dd626e23..b1482f162 100644 --- a/libpthread/linuxthreads/manager.c +++ b/libpthread/linuxthreads/manager.c @@ -293,7 +293,7 @@ pthread_start_thread(void *arg) /* Initialize thread-locale current locale to point to the global one. With __thread support, the variable's initializer takes care of this. */ __uselocale (LC_GLOBAL_LOCALE); -#else +#elif defined __UCLIBC_HAS_RESOLVER_SUPPORT__ /* Initialize __resp. */ __resp = &self->p_res; #endif -- cgit v1.2.3