summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64/sigaction.c')
-rw-r--r--libc/sysdeps/linux/x86_64/sigaction.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c
index 91df04e9f..74e81a877 100644
--- a/libc/sysdeps/linux/x86_64/sigaction.c
+++ b/libc/sysdeps/linux/x86_64/sigaction.c
@@ -99,8 +99,13 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
#ifndef LIBC_SIGACTION
+# ifndef __UCLIBC_HAS_THREADS__
+strong_alias(__libc_sigaction,sigaction)
+libc_hidden_def(sigaction)
+# else
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
+# endif
#endif