diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-01 08:11:12 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-01 08:11:37 -0700 |
commit | 98deb4fad3bdc7986274feebac3f0f8a50fdce0a (patch) | |
tree | 665cf82abe975de6d64a22b3a4bc461c3ede462b /m4 | |
parent | c2a5953f179814dd0f4b7e627aae9a009181ed6a (diff) | |
download | gnulib-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 'm4')
-rw-r--r-- | m4/limits-h.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/limits-h.m4 b/m4/limits-h.m4 index 4f8ce41098..ca0294e550 100644 --- a/m4/limits-h.m4 +++ b/m4/limits-h.m4 @@ -24,6 +24,7 @@ AC_DEFUN_ONCE([gl_LIMITS_H], int ullw = ULLONG_WIDTH; int bw = BOOL_WIDTH; int bm = BOOL_MAX; + int mblm = MB_LEN_MAX; ]])], [gl_cv_header_limits_width=yes], [gl_cv_header_limits_width=no])]) |