* strsignal.c (sys_nsig): Try NSIG and _NSIG.
authorJeffrey A Law <law@cygnus.com>
Fri, 5 Dec 1997 00:22:32 +0000 (00:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 5 Dec 1997 00:22:32 +0000 (17:22 -0700)
From-SVN: r16952

libiberty/ChangeLog
libiberty/strsignal.c

index 2be5d3e622865c6c1daeb43cf828d42716d9e095..99e56e1343c4b7c4b0ba1d817bfd03dfa23f2e6c 100644 (file)
@@ -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.
index 7d40b4cedff92e743fa518d4d6fee28c14765b84..45b052826dfdf7be13b2fa4e1c3376e2240e1e58 100644 (file)
@@ -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