summaryrefslogtreecommitdiff
path: root/packages/gdb/6.8a/0005-handle-stpcpy-define.patch
blob: 11142e2421a1dbac41e6d1ac9538be1e8dc463e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
 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