build: fix compilation error on Alpine Linux and OpenBSD

* gl/lib/mbbuf.h: Define MBBUF_EOF in terms of MCEL_CHAR_MAX,
rather than depending on the stdint module.
Reported by Bruno Haible.
This commit is contained in:
Pádraig Brady
2026-05-01 13:48:39 +01:00
parent 2de1a28bcf
commit 380dc99297
+1 -1
View File
@@ -38,7 +38,7 @@ _GL_INLINE_HEADER_BEGIN
#endif
/* End of file. */
#define MBBUF_EOF UINT32_MAX
#define MBBUF_EOF (MCEL_CHAR_MAX+1)
/* MBBUF_EOF should not be a valid character. */
static_assert (MCEL_CHAR_MAX < MBBUF_EOF);