diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-31 20:18:59 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-31 20:18:59 +0000 |
commit | ea55e3f7f3a213d4e3b5bdf966eecaf0aa1b7112 (patch) | |
tree | 5688b01e763ee509bc9e0dc1c8b43eb2dfa55261 /newlib/libc/unix | |
parent | 89d7acf37a914c31834776879591c3301fb36c9b (diff) | |
download | cygnal-ea55e3f7f3a213d4e3b5bdf966eecaf0aa1b7112.tar.gz cygnal-ea55e3f7f3a213d4e3b5bdf966eecaf0aa1b7112.tar.bz2 cygnal-ea55e3f7f3a213d4e3b5bdf966eecaf0aa1b7112.zip |
2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
make siglist.inc dependent on sig.c instead of signal.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/sig.c: Rename from signal.c and change code to
use NSIG instead of _NSIG.
* libc/sys/linux/sigaction.c: New file.
* libc/sys/linux/signal.c: Changed to be linux signal() function
so as to override regular newlib default signal.c.
* libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS
definition.
* libc/sys/linux/linuxthreads/testrtsig.h: New file.
* libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
* libc/sys/linux/sigset.c: Moved from machine/i386 directory.
* libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
default linux sigset_t typedef by defining it equal to __sigset_t.
* libc/unix/sigset.c: Add check so code isn't compiled on systems
with a sigset_t that isn't implemented with a single int.
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r-- | newlib/libc/unix/sigset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/unix/sigset.c b/newlib/libc/unix/sigset.c index ecb3d0800..cd73a78c8 100644 --- a/newlib/libc/unix/sigset.c +++ b/newlib/libc/unix/sigset.c @@ -1,7 +1,7 @@ #include <signal.h> #include <errno.h> -#ifdef SIG_SETMASK /* easier than trying to remove from Makefile */ +#if defined(SIG_SETMASK) && NSIG <= 32 /* easier than trying to remove from Makefile */ #undef sigemptyset int |