aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-06-12 19:48:31 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2017-06-12 19:59:09 +0100
commit4bad368d9f13c2d8b8d2b2cea89a61916223d882 (patch)
tree5dea1e84719a957ce119b87facfe9eaf6a78deb6 /string
parent3c023dbf5780f5afe8a5ea8e17667719307d955f (diff)
downloadglibc-4bad368d9f13c2d8b8d2b2cea89a61916223d882.zip
glibc-4bad368d9f13c2d8b8d2b2cea89a61916223d882.tar.gz
glibc-4bad368d9f13c2d8b8d2b2cea89a61916223d882.tar.bz2
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.
Diffstat (limited to 'string')
-rw-r--r--string/string-inlines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/string-inlines.c b/string/string-inlines.c
index 55c9984..9f14536 100644
--- a/string/string-inlines.c
+++ b/string/string-inlines.c
@@ -27,6 +27,7 @@
#include <string.h>
#undef index
#undef rindex
+#undef __stpcpy
#undef __NO_INLINE__
#include <bits/string.h>