]> Savannah Git Hosting - gnulib.git/commit
wctype-h: Fix compilation errors in C++ (regression from 2020-01-25).
authorBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2020 18:44:08 +0000 (19:44 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2020 18:44:08 +0000 (19:44 +0100)
commit03d7a6b1fa91b8a22b3b335ee8e70536e4dd65e4
treefc0856bc67ac304dab7077dab71835becae08a5c
parentd17d3a3cc55500709c22c7d0ade24a0845aa17b9
wctype-h: Fix compilation errors in C++ (regression from 2020-01-25).

Reported by Christian Biesinger in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-02/msg00064.html>.

* lib/wctype.in.h (iswdigit, iswxdigit): Don't declare if the
corresponding module is not enabled.
* tests/test-wctype-h-c++.cc (iswdigit, iswxdigit): Don't check the
prototype if the corresponding module is not enabled.
ChangeLog
lib/wctype.in.h
tests/test-wctype-h-c++.cc