From 31f48281ed551634b3c2cfcfcde81ca6e208e5f9 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 28 Jan 2012 21:57:49 +0100 Subject: *: if !HAS_THREADS strong alias sigaction Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/x86_64/sigaction.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux/x86_64') 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 -- cgit v1.2.3