From e7757d691986cb364eab8f8a6968ff385d4d3a61 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Fri, 5 Dec 1997 00:22:32 +0000 Subject: [PATCH] * strsignal.c (sys_nsig): Try NSIG and _NSIG. From-SVN: r16952 --- libiberty/ChangeLog | 4 ++++ libiberty/strsignal.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2be5d3e6228..99e56e1343c 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 * Makefile.in (CFILES): Add pexecute.c. diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 7d40b4cedff..45b052826df 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 -- 2.30.2