diff options
-rw-r--r-- | arch/mips/bits/signal.h | 2 | ||||
-rw-r--r-- | src/signal/sigrtmax.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h index 857d3c07..56ccdb73 100644 --- a/arch/mips/bits/signal.h +++ b/arch/mips/bits/signal.h @@ -100,4 +100,4 @@ typedef struct __ucontext { #define SIGXFSZ 31 #define SIGUNUSED SIGSYS -#define _NSIG 129 +#define _NSIG 128 diff --git a/src/signal/sigrtmax.c b/src/signal/sigrtmax.c index 0ef29873..44dc88ff 100644 --- a/src/signal/sigrtmax.c +++ b/src/signal/sigrtmax.c @@ -1,4 +1,6 @@ +#include <signal.h> + int __libc_current_sigrtmax() { - return 64; + return _NSIG-1; } |