diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2be5d3e62286..99e56e1343c4 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 7d40b4cedff9..45b052826dfd 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