]> Savannah Git Hosting - gnulib.git/commit
Resolve conflicts for functions introduced in Android API level 9.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Jan 2023 00:23:47 +0000 (01:23 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Jan 2023 14:55:56 +0000 (15:55 +0100)
commite074cd27a59f9e0ea13088d7889620107510e993
tree518fa5d958434b4bd7bc1af29e206dd024f25202
parentf4b72fccdb381da20f75fda804b37ecb954c8a42
Resolve conflicts for functions introduced in Android API level 9.

* lib/unistd.in.h (fdatasync): Consider REPLACE_FDATASYNC. Disable
_GL_CXXALIASWARN invocation on non-glibc systems.
(pipe2): Consider REPLACE_PIPE2. Disable _GL_CXXALIASWARN invocation on
non-glibc systems.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_FDATASYNC,
REPLACE_PIPE2.
* modules/unistd (Makefile.am): Substitute REPLACE_FDATASYNC,
REPLACE_PIPE2.
* m4/fdatasync.m4 (gl_FUNC_FDATASYNC): Test for fdatasync using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS. Conditionally set
REPLACE_FDATASYNC.
* modules/fdatasync (Depends-on, configure.ac): Consider
REPLACE_FDATASYNC.
* m4/pipe2.m4 (gl_FUNC_PIPE2): Conditionally set REPLACE_PIPE2.
ChangeLog
lib/unistd.in.h
m4/fdatasync.m4
m4/pipe2.m4
m4/unistd_h.m4
modules/fdatasync
modules/unistd