diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-05-30 13:19:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-05-30 13:19:34 +0000 |
commit | af562a23724d27b16c4872590886c96554bba68a (patch) | |
tree | 2d20da66a9dd1bda69e2d8671e610be86cf8fd40 /libc/signal/allocrtsig.c | |
parent | cd4a3339770a244c6af22e8353423c71d13b8091 (diff) |
-#ifdef _POSIX_THREADS
+#ifdef __UCLIBC_HAS_THREADS__
Diffstat (limited to 'libc/signal/allocrtsig.c')
-rw-r--r-- | libc/signal/allocrtsig.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c index d648f691f..ebebd2a54 100644 --- a/libc/signal/allocrtsig.c +++ b/libc/signal/allocrtsig.c @@ -18,6 +18,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <features.h> #include <signal.h> #include <sys/types.h> #include <sys/syscall.h> @@ -35,7 +36,7 @@ static int current_rtmax = __SIGRTMAX; -#ifdef _POSIX_THREADS +#ifdef __UCLIBC_HAS_THREADS__ /* Allocate real-time signal with highest/lowest available priority. Please note that we don't use a lock since we assume this function to be called at program start. */ @@ -63,7 +64,7 @@ int __libc_current_sigrtmax (void) #else -#ifdef _POSIX_THREADS +#ifdef __UCLIBC_HAS_THREADS__ int __libc_allocate_rtsig (int high) { return -1; |