crosstool-ng/packages/gdb/6.8a/0005-handle-stpcpy-define.patch
Alexey Neyman 98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00

16 lines
300 B
Diff

---
bfd/sysdep.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -131,7 +131,7 @@
extern PTR realloc ();
#endif
-#if !HAVE_DECL_STPCPY
+#if !HAVE_DECL_STPCPY && !defined(stpcpy)
extern char *stpcpy (char *__dest, const char *__src);
#endif