summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpthread/nptl_db/structs.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl_db/structs.def b/libpthread/nptl_db/structs.def
index 823af5cba..1572ad696 100644
--- a/libpthread/nptl_db/structs.def
+++ b/libpthread/nptl_db/structs.def
@@ -77,7 +77,7 @@ DB_STRUCT_ARRAY_FIELD (dtv, dtv)
# define pointer_val pointer.val /* Field of anonymous struct in dtv_t. */
DB_STRUCT_FIELD (dtv_t, pointer_val)
#endif
-#if !defined IS_IN_libpthread || TLS_TCB_AT_TP
+#if !defined IS_IN_libpthread || (defined TLS_TCB_AT_TP && TLS_TCB_AT_TP)
DB_STRUCT_FIELD (pthread, dtvp)
#endif