summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/sigaction.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-28 21:57:49 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-28 21:57:49 +0100
commit31f48281ed551634b3c2cfcfcde81ca6e208e5f9 (patch)
tree0f4f9974154e4c90ab7d39568489f34511cbedac /libc/sysdeps/linux/mips/sigaction.c
parent83ce0cc4d5e93549f0a9447a9bd6b051f5f1b62f (diff)
*: if !HAS_THREADS strong alias sigaction
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/sigaction.c')
-rw-r--r--libc/sysdeps/linux/mips/sigaction.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c
index f2d2747b5..bb07eee41 100644
--- a/libc/sysdeps/linux/mips/sigaction.c
+++ b/libc/sysdeps/linux/mips/sigaction.c
@@ -100,8 +100,13 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac
#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