diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2012-05-17 20:13:21 +0000 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2012-05-18 15:42:41 +0200 |
commit | 9316931e7c3777f7e592f0e6eae9f902b713e6b8 (patch) | |
tree | c552a6d5dfd49f17293d24d5dbd4782933dafda7 | |
parent | 21d88c323776791bc2e5e2114796ef91cef421e3 (diff) | |
download | klibc-9316931e7c3777f7e592f0e6eae9f902b713e6b8.tar.gz |
[klibc] unbreak powerpc builds
a) sigset_t is larger than 32 bit, so switch to RT signals
b) fix mispelt port
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/arch/ppc/klibc/archconfig.h | 2 | ||||
-rw-r--r-- | usr/klibc/SYSCALLS.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/include/arch/ppc/klibc/archconfig.h b/usr/include/arch/ppc/klibc/archconfig.h index ce04eee896100..61c3657d92c5b 100644 --- a/usr/include/arch/ppc/klibc/archconfig.h +++ b/usr/include/arch/ppc/klibc/archconfig.h @@ -9,6 +9,6 @@ #ifndef _KLIBC_ARCHCONFIG_H #define _KLIBC_ARCHCONFIG_H -/* All defaults */ +#define _KLIBC_USE_RT_SIG 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index b6f9ea50ad809..872acbfead226 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -217,7 +217,7 @@ int sigprocmask(int, const sigset_t *, sigset_t *); * * The arguments other than the sigset_t are assumed ignored. */ -<cris,sh,sparc,alpha,powerpc,sparc64> int sigsuspend::__sigsuspend_s(sigset_t); +<cris,sh,sparc,alpha,ppc,sparc64> int sigsuspend::__sigsuspend_s(sigset_t); <arm,frv,i386,m68k,mn10300,s390> int sigsuspend::__sigsuspend_xxs(int, int, sigset_t); #endif int kill(pid_t, int); |