From 11a52734e42237bac70a1f4a3ae2ef7e9f751bc4 Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 27 Jun 2009 04:44:21 +0930 Subject: Check #if feature test macros are defined where they may not be Once again all of these reduce the noise from gcc-4.4. Replaces a few more (USE_TLS && HAVE___THREAD) with USE___THREAD while we need to mess with them for this anyhow. Signed-off-by: Ron Lee Signed-off-by: Mike Frysinger --- libpthread/linuxthreads.old/libc_pthread_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads.old/libc_pthread_init.c') diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c index 6cdad844d..6bd08076c 100644 --- a/libpthread/linuxthreads.old/libc_pthread_init.c +++ b/libpthread/linuxthreads.old/libc_pthread_init.c @@ -26,7 +26,7 @@ /* Experimentally off - libc_hidden_proto(memcpy) */ -#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__ +#if ! defined USE___THREAD && defined __UCLIBC_HAS_XLOCALE__ /* libc_hidden_proto(uselocale) */ #endif @@ -42,7 +42,7 @@ int * __libc_pthread_init (const struct pthread_functions *functions) sizeof (__libc_pthread_functions)); #endif -#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__ +#if ! defined USE___THREAD && defined __UCLIBC_HAS_XLOCALE__ /* 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); -- cgit v1.2.3