lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.1.90 headers still break SIGRTMAX (include/asm*/signal.h broken)

The following simple program still doesn't compile
using the 2.1.90 headers.

Who's responsible for include/asm*/signal.h?

If we want POSIX signals handling, perhaps we could
at least define SIGRTMAX based on a constant
that we know (perhaps SIGRTMIN+31)?

jd:dcd$ cat -n rtmax.c
1 #include <signal.h>
2
3 #include <stdio.h>
4 int main() {
5 printf("SIGRTMIN=%d\n", SIGRTMIN);
6 printf("SIGRTMAX=%d\n", SIGRTMAX);
7 }


jd:dcd$ gcc -O2 rtmax.c
rtmax.c: In function `main':
rtmax.c:6: `_NSIG' undeclared (first use this function)
rtmax.c:6: (Each undeclared identifier is reported only once
rtmax.c:6: for each function it appears in.)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.019 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site