diff options
Diffstat (limited to 'klibc/include/signal.h')
-rw-r--r-- | klibc/include/signal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/klibc/include/signal.h b/klibc/include/signal.h index 1b439077f2..e78318f5f7 100644 --- a/klibc/include/signal.h +++ b/klibc/include/signal.h @@ -27,9 +27,20 @@ typedef int sig_atomic_t; #ifndef SA_NODEFER # define SA_NODEFER SA_NOMASK #endif +/* Some architectures define NSIG and not _NSIG or vice versa */ #ifndef NSIG # define NSIG _NSIG #endif +#ifndef _NSIG +# define _NSIG NSIG +#endif + +/* If we don't have any real-time signals available to userspace, + hide them all */ +#if SIGRTMAX <= SIGRTMIN +# undef SIGRTMIN +# undef SIGRTMAX +#endif __extern const char * const sys_siglist[]; |