[git commit nptl] TLS_TCB_AT_TP: avoid warning about undef cpp token

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Feb 5 18:19:08 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=3e808a4c28f214314e8457672fae0f5d17f5450a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libpthread/nptl_db/structs.def |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libpthread/nptl_db/structs.def b/libpthread/nptl_db/structs.def
index 823af5c..1572ad6 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
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list