summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old_db/td_thr_tls_get_addr.c')
-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 19821d6e7..8e38b6904 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)))
{
-#ifdef USE_TLS
+#if defined(USE_TLS) && USE_TLS
size_t modid;
union dtv pdtv, *dtvp;