From 4bad368d9f13c2d8b8d2b2cea89a61916223d882 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 12 Jun 2017 19:48:31 +0100 Subject: [PATCH] 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. --- ChangeLog | 4 ++++ string/string-inlines.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index c4cfaf64d7..0a21fa51f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -122,6 +122,10 @@ * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def): Always Defined as empty. +2017-06-12 Wilco Dijkstra + + * string/string-inlines.c: Add undef of __stpcpy to fix build issue. + 2017-06-12 Wilco Dijkstra [BZ #15105] diff --git a/string/string-inlines.c b/string/string-inlines.c index 55c99845aa..9f145366b6 100644 --- a/string/string-inlines.c +++ b/string/string-inlines.c @@ -27,6 +27,7 @@ #include #undef index #undef rindex +#undef __stpcpy #undef __NO_INLINE__ #include