summaryrefslogtreecommitdiff
path: root/libiberty/strsignal.c
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-12 05:04:42 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-12 05:04:42 +0000
commit66806be2b0c32b412faae054523ac1a8957551a1 (patch)
tree4c60a8b0c2ac0437f7751109766d39b6dce8c572 /libiberty/strsignal.c
parent59e339e9fbc0539c62610bbcc7393996f21b65de (diff)
downloadgcc-66806be2b0c32b412faae054523ac1a8957551a1.tar.gz
* strerror.c (sys_nerr): Hide the OS header version.
* strsignal.c (sys_nsig): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/strsignal.c')
-rw-r--r--libiberty/strsignal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c
index 5625323b71b..2533adce297 100644
--- a/libiberty/strsignal.c
+++ b/libiberty/strsignal.c
@@ -17,6 +17,7 @@
ignore any declaration in the system header files, and always
declare it ourselves. With luck, this will always work. */
#define sys_siglist no_such_symbol
+#define sys_nsig sys_nsig__no_such_symbol
#include <stdio.h>
#include <signal.h>
@@ -38,6 +39,7 @@ extern PTR memset ();
/* Undefine the macro we used to hide the definition of sys_siglist
found in the system header files. */
#undef sys_siglist
+#undef sys_nsig
#ifndef NULL
# ifdef __STDC__