aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_kill_other_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_kill_other_threads.c')
-rw-r--r--nptl/pthread_kill_other_threads.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_kill_other_threads.c b/nptl/pthread_kill_other_threads.c
index 44018db..0cb336e 100644
--- a/nptl/pthread_kill_other_threads.c
+++ b/nptl/pthread_kill_other_threads.c
@@ -18,8 +18,7 @@
#include <shlib-compat.h>
-
-#ifdef SHARED
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
/* This function does not serve a useful purpose in the thread library
implementation anymore. It used to be necessary when then kernel
could not shut down "processes" but this is not the case anymore.