summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl_db/db_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl_db/db_info.c')
-rw-r--r--libpthread/nptl_db/db_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl_db/db_info.c b/libpthread/nptl_db/db_info.c
index 5000b99ba..5aec152d5 100644
--- a/libpthread/nptl_db/db_info.c
+++ b/libpthread/nptl_db/db_info.c
@@ -51,9 +51,9 @@ typedef struct link_map link_map;
8 * sizeof (obj)[0], sizeof (obj) / sizeof (obj)[0], \
offset);
-#if TLS_TCB_AT_TP
+#if defined(TLS_TCB_AT_TP)
# define dtvp header.dtv
-#elif TLS_DTV_AT_TP
+#elif defined(TLS_DTV_AT_TP)
/* Special case hack. If TLS_TCB_SIZE == 0 (on PowerPC), there is no TCB
containing the DTV at the TP, but actually the TCB lies behind the TP,
i.e. at the very end of the area covered by TLS_PRE_TCB_SIZE. */