summaryrefslogtreecommitdiff
path: root/modules/string
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-01-22 13:01:14 +0100
committerBruno Haible <bruno@clisp.org>2023-01-22 15:56:53 +0100
commit9746be9cd8ccaebc0e1052c19da8d5644766caad (patch)
tree32a7fadb3a38ae8a4e76b3a544f389301171f81f /modules/string
parent6f43ec52f0b6c548a974ec46244292106fc48bfe (diff)
downloadgnulib-9746be9cd8ccaebc0e1052c19da8d5644766caad.tar.gz
Resolve conflicts for functions introduced in Android API level 23.
* lib/string.in.h (mempcpy): Consider REPLACE_MEMPCPY. Disable _GL_CXXALIASWARN invocation on non-glibc systems. * m4/string_h.m4 (gl_STRING_H_DEFAULTS): Initialize REPLACE_MEMPCPY. * modules/string (Makefile.am): Substitute REPLACE_MEMPCPY. * m4/mempcpy.m4 (gl_FUNC_STPCPY): Conditionally set REPLACE_MEMPCPY. * modules/mempcpy (configure.ac): Consider REPLACE_MEMPCPY.
Diffstat (limited to 'modules/string')
-rw-r--r--modules/string1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/string b/modules/string
index 03a1b0547c..9bfed12613 100644
--- a/modules/string
+++ b/modules/string
@@ -108,6 +108,7 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
-e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
-e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
+ -e 's|@''REPLACE_MEMPCPY''@|$(REPLACE_MEMPCPY)|g' \
-e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
-e 's|@''REPLACE_STPCPY''@|$(REPLACE_STPCPY)|g' \
-e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \