summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-01 08:11:12 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-01 08:11:37 -0700
commit98deb4fad3bdc7986274feebac3f0f8a50fdce0a (patch)
tree665cf82abe975de6d64a22b3a4bc461c3ede462b /doc
parentc2a5953f179814dd0f4b7e627aae9a009181ed6a (diff)
downloadgnulib-98deb4fad3bdc7986274feebac3f0f8a50fdce0a.tar.gz
limits-h: port to pcc
* doc/posix-headers/limits.texi: Document the issue. * lib/limits.in.h (MB_LEN_MAX): New macro, if not already defined. * m4/limits-h.m4 (gl_LIMITS_H): Test for MB_LEN_MAX. * tests/test-limits-h.c: Check that it’s positive.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-headers/limits.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-headers/limits.texi b/doc/posix-headers/limits.texi
index 09440cac8d..5fdcd14546 100644
--- a/doc/posix-headers/limits.texi
+++ b/doc/posix-headers/limits.texi
@@ -12,6 +12,9 @@ The macros @code{LLONG_MIN}, @code{LLONG_MAX}, @code{ULLONG_MAX} are not
defined on some platforms:
older glibc systems (e.g. Fedora 1), AIX 5.1, HP-UX 11, IRIX 6.5, OpenVMS.
@item
+The macro @code{MB_LEN_MAX} is not defined on some platforms:
+pcc 1.2.0.DEVEL 20220331.
+@item
The macros @code{WORD_BIT}, @code{LONG_BIT} are not defined on some platforms:
glibc 2.11 without @code{-D_GNU_SOURCE}, Cygwin, mingw, MSVC 14.
@item