summaryrefslogtreecommitdiff
path: root/lib/strerror_r.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-04-23 18:27:44 +0200
committerBruno Haible <bruno@clisp.org>2017-04-25 00:00:02 +0200
commit60530d050b8d50ab442026e6b6fac30245e459fd (patch)
tree0c5d1280938bf9c55cd4d1592ad9e99821b25bde /lib/strerror_r.c
parent3a8af1e38bc026a9efb3b47c4686e4e54b633436 (diff)
downloadgnulib-60530d050b8d50ab442026e6b6fac30245e459fd.tar.gz
strerror_r-posix: Revert commits from 2016-10-16,2016-11-04,2016-11-14.
* m4/strerror_r.m4: Revert changes since 2016-10-16. * lib/strerror_r.c: Likewise.
Diffstat (limited to 'lib/strerror_r.c')
-rw-r--r--lib/strerror_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strerror_r.c b/lib/strerror_r.c
index 09ec8d9e15..d7b0f778f0 100644
--- a/lib/strerror_r.c
+++ b/lib/strerror_r.c
@@ -40,7 +40,7 @@ extern
#endif
int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
-#elif HAVE_DECL_STRERROR_R_ORIG && !(__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__)
+#elif HAVE_DECL_STRERROR_R && !(__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__)
/* The system's strerror_r function is OK, except that its third argument
is 'int', not 'size_t', or its return type is wrong. */