diff options
Diffstat (limited to 'libc/signal/allocrtsig.c')
-rw-r--r-- | libc/signal/allocrtsig.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c index 3c7d6211b..40b5ea24c 100644 --- a/libc/signal/allocrtsig.c +++ b/libc/signal/allocrtsig.c @@ -34,6 +34,13 @@ static int current_rtmax = -1; #else # ifdef __UCLIBC_HAS_THREADS_NATIVE__ static int current_rtmin = __SIGRTMIN + 2; +# elif defined __UCLIBC_HAS_THREADS__ && !defined __LINUXTHREADS_OLD__ +/* psm: might be good for LT old as well, do not want to break it for now */ +/* Sanity check */ +# if !defined __SIGRTMIN || (__SIGRTMAX - __SIGRTMIN) < 3 +# error "This must not happen" +# endif +static int current_rtmin = __SIGRTMIN + 3; # else static int current_rtmin = __SIGRTMIN; # endif |