summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-07-12 04:35:13 +0000
committerPaul Smith <psmith@gnu.org>2005-07-12 04:35:13 +0000
commit1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3 (patch)
tree8bec287893a5b2fb441be612fbac4d64b8d8c8b2 /signame.c
parent0e30f46a624803455dcc74acf9a333666467d253 (diff)
downloadgunmake-1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3.tar.gz
Various minor updates and code cleanups.
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/signame.c b/signame.c
index ef00a6a..c5583d2 100644
--- a/signame.c
+++ b/signame.c
@@ -235,6 +235,11 @@ strsignal (int signal)
static char buf[] = "Signal 12345678901234567890";
#if ! HAVE_DECL_SYS_SIGLIST
+# if HAVE_DECL__SYS_SIGLIST
+# define sys_siglist _sys_siglist
+# elif HAVE_DECL___SYS_SIGLIST
+# define sys_siglist __sys_siglist
+# endif
static char sig_initted = 0;
if (!sig_initted)