aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-12-05 00:22:32 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-04 17:22:32 -0700
commite7757d691986cb364eab8f8a6968ff385d4d3a61 (patch)
treec4607840f6b3bf50d6961ed1e8442a8b3bc96b1f /libiberty
parent01d34110afdaf49c46b96ac4780e7c3c5da5b1bf (diff)
* strsignal.c (sys_nsig): Try NSIG and _NSIG.
From-SVN: r16952
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/strsignal.c6
2 files changed, 10 insertions, 0 deletions
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 <jodyg@idt.net>
* 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