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_db/td_thr_tls_get_addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c') diff --git a/libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c b/libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c index a28b07450..19821d6e7 100644 --- a/libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c +++ b/libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c @@ -31,7 +31,7 @@ td_thr_tls_get_addr (const td_thrhandle_t *th __attribute__ ((unused)), size_t offset __attribute__ ((unused)), void **address __attribute__ ((unused))) { -#if USE_TLS +#ifdef USE_TLS size_t modid; union dtv pdtv, *dtvp; -- cgit v1.2.3