summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/signal/allocrtsig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c
index 2102a15ba..0bdbd2842 100644
--- a/libc/signal/allocrtsig.c
+++ b/libc/signal/allocrtsig.c
@@ -32,7 +32,11 @@
static int current_rtmin = -1;
static int current_rtmax = -1;
#else
+# ifdef __UCLIBC_HAS_THREADS_NATIVE__
+static int current_rtmin = __SIGRTMIN + 2;
+# else
static int current_rtmin = __SIGRTMIN;
+# endif
static int current_rtmax = __SIGRTMAX;
#endif