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

* lib/stdio.in.h (putw): Don't declare in the C++ namespace if putw is
not declared.
* m4/stdio_h.m4 (gl_STDIO_H): Test whether putw is declared.
(gl_STDIO_H_DEFAULTS): Initialize HAVE_DECL_PUTW.
* modules/stdio (Makefile.am): Substitute HAVE_DECL_PUTW.
* doc/glibc-functions/putw.texi: Update regarding Android.
ChangeLog
doc/glibc-functions/putw.texi
lib/stdio.in.h
m4/stdio_h.m4
modules/stdio