* lib/sysexits.in.h: Don't assume that <sysexits.h>, when it exists,
defines anything.
* doc/glibc-headers/sysexits.texi: Mention the Haiku bug.
+2021-03-07 Bruno Haible <bruno@clisp.org>
+
+ sysexits: Fix for Haiku.
+ * lib/sysexits.in.h: Don't assume that <sysexits.h>, when it exists,
+ defines anything.
+ * doc/glibc-headers/sysexits.texi: Mention the Haiku bug.
+
2021-03-07 Bruno Haible <bruno@clisp.org>
Rename GNULIB_WCHAR_SINGLE to GNULIB_WCHAR_SINGLE_LOCALE.
This header file is missing on some platforms:
mingw, MSVC 14.
@item
+This header file defines no @code{EX_*} macros if @code{_BSD_SOURCE} is not
+defined on some platforms:
+Haiku.
+@item
The macro @code{EX_CONFIG} is missing on some platforms:
HP-UX 11.
@end itemize
#ifndef _@GUARD_PREFIX@_SYSEXITS_H
#define _@GUARD_PREFIX@_SYSEXITS_H
-#if !@HAVE_SYSEXITS_H@
+#if !(@HAVE_SYSEXITS_H@ && defined EX_USAGE)
# define EX_OK 0 /* same value as EXIT_SUCCESS */