summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old_db
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:21 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:24 -0700
commit4dc09127f6782c77f3d92268d78a46f8a1a8492d (patch)
treec9694e1a95ec398e0834053dd82d37ee6766137f /libpthread/linuxthreads.old_db
parentf241d2e5e336d440db106e972138664baeadfd70 (diff)
downloaduClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.bz2
uClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old_db')
-rw-r--r--libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c2
1 files changed, 1 insertions, 1 deletions
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;