From f96ea618cbaf2e52fafdca40fe8e2005ae393075 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 18 Mar 2011 23:55:37 +0100 Subject: allocsigrt.c: provide proper crrent_rtmin for LT new might be good for LT old as well Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/signal/allocrtsig.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/signal') 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 -- cgit v1.2.3