]> Savannah Git Hosting - gnulib.git/commit
wcstok: Work around wrong signature on native Windows.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Nov 2019 12:11:12 +0000 (13:11 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Nov 2019 12:11:12 +0000 (13:11 +0100)
commit5ac9de982d61df59a1afc3446000f50a4ca705b6
treefee37e6d4484a9d3c4db27ae864e7cd84cfe3397
parent378d2e5e5fe4b892ac3503ab5313126b1b63341e
wcstok: Work around wrong signature on native Windows.

* lib/wchar.in.h (wcstok): Override when REPLACE_WCSTOK is 1.
* m4/wcstok.m4 (gl_FUNC_WCSTOK): Check for signature of wcstok. Set
REPLACE_WCSTOK.
* m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSTOK.
* modules/wchar (Makefile.am): Substitute REPLACE_WCSTOK.
* modules/wcstok (Depends-on, configure.ac): Consider REPLACE_WCSTOK.
* doc/posix-functions/wcstok.texi: Mention the problem.
ChangeLog
doc/posix-functions/wcstok.texi
lib/wchar.in.h
m4/wchar_h.m4
m4/wcstok.m4
modules/wchar
modules/wcstok