summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads_db/td_thr_tls_get_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads_db/td_thr_tls_get_addr.c')
-rw-r--r--libpthread/linuxthreads_db/td_thr_tls_get_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads_db/td_thr_tls_get_addr.c b/libpthread/linuxthreads_db/td_thr_tls_get_addr.c
index c900cac8e..742cdd8be 100644
--- a/libpthread/linuxthreads_db/td_thr_tls_get_addr.c
+++ b/libpthread/linuxthreads_db/td_thr_tls_get_addr.c
@@ -27,7 +27,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 __UCLIBC_HAS_TLS__
/* Read the module ID from the link_map. */
size_t modid;
if (ps_pdread (th->th_ta_p->ph,