Fix build issue on x86.

Add an undef of __stpcpy in string-inlines.c to avoid a redefinition
error on x86.

	* string/string-inlines.c: Add undef of __stpcpy to fix build issue.
This commit is contained in:
Wilco Dijkstra 2017-06-12 19:48:31 +01:00
parent 3c023dbf57
commit 4bad368d9f
2 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,10 @@
* sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
Always Defined as empty.
2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
* string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
[BZ #15105]

View File

@ -27,6 +27,7 @@
#include <string.h>
#undef index
#undef rindex
#undef __stpcpy
#undef __NO_INLINE__
#include <bits/string.h>