diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-12-05 00:22:32 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-04 17:22:32 -0700 |
commit | e7757d691986cb364eab8f8a6968ff385d4d3a61 (patch) | |
tree | c4607840f6b3bf50d6961ed1e8442a8b3bc96b1f /libiberty | |
parent | 01d34110afdaf49c46b96ac4780e7c3c5da5b1bf (diff) | |
download | gcc-e7757d691986cb364eab8f8a6968ff385d4d3a61.zip gcc-e7757d691986cb364eab8f8a6968ff385d4d3a61.tar.gz gcc-e7757d691986cb364eab8f8a6968ff385d4d3a61.tar.bz2 |
* strsignal.c (sys_nsig): Try NSIG and _NSIG.
From-SVN: r16952
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/strsignal.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2be5d3e..99e56e1 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com) + + * strsignal.c (sys_nsig): Try NSIG and _NSIG. + Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net> * Makefile.in (CFILES): Add pexecute.c. diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 7d40b4c..45b0528 100644 --- a/libiberty/strsignal.c +++ b/libiberty/strsignal.c @@ -243,7 +243,13 @@ static const char **sys_siglist; #else +#ifdef NSIG static int sys_nsig = NSIG; +#else +#ifdef _NSIG +static int sys_nsig = NSIG; +#endif +#endif extern const char * const sys_siglist[]; #endif |