summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/libc_pthread_init.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:21 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit11a52734e42237bac70a1f4a3ae2ef7e9f751bc4 (patch)
tree7015b49ac8e9b29a733506e470529dacad97d953 /libpthread/linuxthreads.old/libc_pthread_init.c
parent00c8ece258acfa8867485172af9e74313d25bbdf (diff)
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 <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/linuxthreads.old/libc_pthread_init.c')
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c4
1 files changed, 2 insertions, 2 deletions
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);