aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_create.c
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/pthread_create.c
parentaa4de9cea5c07d43caeaca9722c2d417e9a2919c (diff)
downloadglibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar
glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.gz
glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.tar.bz2
glibc-d7329d4b4d297b5638aef7fc4d5eaf9ad7845d7a.zip
Fix two stray cases using #ifdef vs #if for TLS_TCB_AT_TP.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index cee0806d52..38e69cb496 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -496,7 +496,7 @@ __pthread_create_2_1 (newthread, attr, start_routine, arg)
performed in 'get_cached_stack'. This way we avoid doing this if
the stack freshly allocated with 'mmap'. */
-#ifdef TLS_TCB_AT_TP
+#if TLS_TCB_AT_TP
/* Reference to the TCB itself. */
pd->header.self = pd;