summaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-06-12 13:16:43 +0000
committerDJ Delorie <dj@redhat.com>2001-06-12 13:16:43 +0000
commit11f6f21d465eb5e05ff2819ae58ae545c6e15e59 (patch)
tree9c3430ebe390b01cffd4436563b85969e0c396cb /libiberty/strerror.c
parent6fc1282450dd2fecc369ea820a2b04dcf45dc000 (diff)
downloadbinutils-gdb-11f6f21d465eb5e05ff2819ae58ae545c6e15e59.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/strerror.c')
-rw-r--r--libiberty/strerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/strerror.c b/libiberty/strerror.c
index 0dd2220cd73..ba837e32332 100644
--- a/libiberty/strerror.c
+++ b/libiberty/strerror.c
@@ -13,6 +13,7 @@
incompatible with our later declaration, perhaps by using const
attributes. So we hide the declaration in errno.h (if any) using a
macro. */
+#define sys_nerr sys_nerr__
#define sys_errlist sys_errlist__
#endif
@@ -20,6 +21,7 @@
#include <errno.h>
#ifdef HAVE_SYS_ERRLIST
+#undef sys_nerr
#undef sys_errlist
#endif