]> Savannah Git Hosting - gnulib.git/commit
errno: Ensure ESOCKTNOSUPPORT gets defined.
authorBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 15:11:35 +0000 (17:11 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 15:13:25 +0000 (17:13 +0200)
commit32601dbf37935eba9a85b918f477860e7638fc82
treec831cb90482d9f92b239ba6d31d97ac2019d5097
parentf59ff6beeb3e5f437a4c847b9e1a785b30363e5b
errno: Ensure ESOCKTNOSUPPORT gets defined.

* m4/errno_h.m4 (gl_HEADER_ERRNO_H): Test also whether ESOCKTNOSUPPORT
is defined.
* lib/errno.in.h (ESOCKTNOSUPPORT, GNULIB_defined_ESOCKTNOSUPPORT): New
macros.
* lib/strerror-override.h (strerror_override): Declare also if
GNULIB_defined_ESOCKTNOSUPPORT is defined.
* lib/strerror-override.c (strerror_override): Handle ESOCKTNOSUPPORT.
* lib/strerrorname_np.c (strerrorname_np): Move ESOCKTNOSUPPORT code to
the POSIX section.
* doc/posix-headers/errno.texi: Document the Haiku problem.
ChangeLog
doc/posix-headers/errno.texi
lib/errno.in.h
lib/strerror-override.c
lib/strerror-override.h
lib/strerrorname_np.c
m4/errno_h.m4