From 3e808a4c28f214314e8457672fae0f5d17f5450a Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Fri, 5 Feb 2010 19:29:35 +0100
Subject: TLS_TCB_AT_TP: avoid warning about undef cpp token

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 libpthread/nptl_db/structs.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libpthread/nptl_db/structs.def')

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
 
-- 
cgit v1.2.3

