]> Savannah Git Hosting - gnulib.git/commit
stdio: Fix error in C++ mode on Android, due to getw.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Jan 2023 16:11:19 +0000 (17:11 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Jan 2023 18:09:18 +0000 (19:09 +0100)
commit7f15a26e19a0ad666a7c8b818e07a6ded7793358
tree9b6e4e30fb139b631891492335fd1af476cf719b
parent25147f9df83e0b12339c112d72ab228fedc7301a
stdio: Fix error in C++ mode on Android, due to getw.

* lib/stdio.in.h (getw): Don't declare in the C++ namespace if getw is
not declared.
* m4/stdio_h.m4 (gl_STDIO_H): Test whether getw is declared.
(gl_STDIO_H_DEFAULTS): Initialize HAVE_DECL_GETW.
* modules/stdio (Makefile.am): Substitute HAVE_DECL_GETW.
ChangeLog
lib/stdio.in.h
m4/stdio_h.m4
modules/stdio