summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2021-11-29 16:33:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-12-24 00:29:55 +0100
commit062fac27c581ee207defcca238df691f896859f2 (patch)
treea9dc483920f90403d5f11fa13597370f0b6cf6ff /libpthread/nptl
parent48a333b652e4874f9fccccbc608fcedbe25909ea (diff)
Fix -Wundef related warnings
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c
index 5a7957d6a..697af20e0 100644
--- a/libpthread/nptl/pthread_create.c
+++ b/libpthread/nptl/pthread_create.c
@@ -447,7 +447,7 @@ pthread_create (
performed in 'get_cached_stack'. This way we avoid doing this if
the stack freshly allocated with 'mmap'. */
-#if TLS_TCB_AT_TP
+#ifdef TLS_TCB_AT_TP
/* Reference to the TCB itself. */
pd->header.self = pd;