Re: wctype.h compile error on mingw with GNULIB_NAMESPACE

2019-11-24 Thread Bruno Haible
Christian Biesinger wrote: > Thanks for your quick patches! This solves the problem for me. Thanks for the confirmation. Some other patches are needed for the same thing to work on Cygwin and mingw. Will push them once Savannah is back online. 2019-11-24 Bruno Haible Fix errors in C+

Re: time_r module does not work on MingW

2019-11-24 Thread Bruno Haible
This patch introduced a regression: > 2019-11-16 Bruno Haible > > time_r: Fix for mingw. > Reported by Christian Biesinger in > . > * lib/time.in.h: On mingw, include . > * m4/time_r.m4 (gl_TIME

wcstok: work around wrong signature on native Windows

2019-11-24 Thread Bruno Haible
On mingw and older MSVC versions (fixed in MSVC 14), the wcstok function takes only 2 arguments (like strtok, not multithread-safe). The first patch works around it. The second patch verifies it through a unit test. 2019-11-24 Bruno Haible wcstok: Work around wrong signature on nativ