about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-14 10:46:38 -0700
committerRoland McGrath <roland@hack.frob.com>2014-03-14 10:46:38 -0700
commitd7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a (patch)
tree4f291fd2842bc33caf26b8dc61c4eb79ebde1949 /nptl/sysdeps/pthread
parentaa4de9cea5c07d43caeaca9722c2d417e9a2919c (diff)
downloadglibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.gz
glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.xz
glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.zip
Fix two stray cases using #ifdef vs #if for TLS_TCB_AT_TP.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r--nptl/sysdeps/pthread/createthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
index 93f93eebd4..e1856f7b1c 100644
--- a/nptl/sysdeps/pthread/createthread.c
+++ b/nptl/sysdeps/pthread/createthread.c
@@ -147,7 +147,7 @@ static int
 create_thread (struct pthread *pd, const struct pthread_attr *attr,
 	       STACK_VARIABLES_PARMS)
 {
-#ifdef TLS_TCB_AT_TP
+#if TLS_TCB_AT_TP
   assert (pd->header.tcb != NULL);
 #endif