]> Savannah Git Hosting - gnulib.git/commit
wctype-h: When overriding wint_t, override also the related functions.
authorBruno Haible <bruno@clisp.org>
Sun, 17 Nov 2019 03:02:22 +0000 (04:02 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 17 Nov 2019 03:02:22 +0000 (04:02 +0100)
commit7e22b59a5f0506e4c2a53aad451e72cea6c4ad67
tree84342586f5b0792e547e1a32755e9ae1100c3e5c
parentb7bf9f4361c8d78ccfda7a30ff31f7a406ea972e
wctype-h: When overriding wint_t, override also the related functions.

Reported by Christian Biesinger <cbiesinger@google.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-11/msg00027.html>.

* m4/wctype_h.m4 (gl_WCTYPE_H): When GNULIB_OVERRIDES_WINT_T is 1, set
REPLACE_ISWCNTRL to 1.
* lib/wctype.in.h (rpl_iswalnum, rpl_iswalpha, rpl_iswblank,
rpl_iswcntrl, rpl_iswdigit, rpl_iswgraph, rpl_iswlower, rpl_iswprint,
rpl_iswpunct, rpl_iswspace, rpl_iswupper, rpl_iswxdigit, rpl_towlower,
rpl_towupper): New definitions when GNULIB_OVERRIDES_WINT_T is 1.
* doc/posix-headers/wchar.texi: Mention that wint_t is also overridden
on mingw.
* doc/posix-headers/wctype.texi: Likewise.
ChangeLog
doc/posix-headers/wchar.texi
doc/posix-headers/wctype.texi
lib/wctype.in.h
m4/wctype_h.m4