summaryrefslogtreecommitdiff
path: root/m4/errno_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-07-31 19:00:23 +0200
committerBruno Haible <bruno@clisp.org>2011-07-31 19:00:23 +0200
commit712cf13da004184edfac5a715118fe77bd257f1c (patch)
tree9f0f89af3a876d2f9911afb90dcf68e516c65a5a /m4/errno_h.m4
parentcdf12ee48247d39e7b1fd40289b78741aa4d4df1 (diff)
downloadgnulib-712cf13da004184edfac5a715118fe77bd257f1c.tar.gz
errno: Port to Minix.
* m4/errno_h.m4 (gl_HEADER_ERRNO_H): Test also whether ENETRESET and ECONNABORTED are defined. * lib/errno.in.h (ENETRESET, GNULIB_defined_ENETRESET, ECONNABORTED, GNULIB_defined_ECONNABORTED): New macros. * lib/strerror-override.h (strerror_override): Test also GNULIB_defined_ENETRESET, GNULIB_defined_ECONNABORTED. * lib/strerror-override.c (strerror_override): Handle also ENETRESET, ECONNABORTED. * doc/posix-headers/errno.texi: Mention the Minix problem.
Diffstat (limited to 'm4/errno_h.m4')
-rw-r--r--m4/errno_h.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/m4/errno_h.m4 b/m4/errno_h.m4
index a6d37f3b32..560adbafed 100644
--- a/m4/errno_h.m4
+++ b/m4/errno_h.m4
@@ -1,4 +1,4 @@
-# errno_h.m4 serial 9
+# errno_h.m4 serial 10
dnl Copyright (C) 2004, 2006, 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -34,6 +34,12 @@ booboo
#if !defined ENOTSUP
booboo
#endif
+#if !defined ENETRESET
+booboo
+#endif
+#if !defined ECONNABORTED
+booboo
+#endif
#if !defined ESTALE
booboo
#endif