summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-26 18:06:53 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-26 18:06:53 +0000
commit22fa952fdb5e9d2c5b1ee0d6c3fb75974ca15666 (patch)
tree1bf1c01e4539bdb92f8cd7daebd8f4e4411466fb /test
parente86450a0065d044fd334bdde7d39b29ccefd65c7 (diff)
sparc, alpha, and mips have different errno values than the other
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
Diffstat (limited to 'test')
-rw-r--r--test/string/string.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/string/string.c b/test/string/string.c
index c83f9f863..70953001f 100644
--- a/test/string/string.c
+++ b/test/string/string.c
@@ -34,11 +34,6 @@
#include <strings.h>
#include <fcntl.h>
-#ifndef HAVE_GNU_LD
-#define _sys_nerr sys_nerr
-#define _sys_errlist sys_errlist
-#endif
-
#define STREQ(a, b) (strcmp((a), (b)) == 0)
const char *it = "<UNSET>"; /* Routine name for message routines. */