OSDN Git Service

TLS_TCB_AT_TP: avoid warning about undef cpp token
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Feb 2010 18:29:35 +0000 (19:29 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Feb 2010 18:29:35 +0000 (19:29 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/nptl_db/structs.def

index 823af5c..1572ad6 100644 (file)
@@ -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