patches/gdb/6.8a/150-handle-stpcpy-define.patch
changeset 2662 e7266674d492
parent 2629 8cadd5a4c611
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gdb/6.8a/150-handle-stpcpy-define.patch	Sun Sep 11 18:28:45 2011 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +diff -ru gdb-6.8.orig/bfd/sysdep.h gdb-6.8/bfd/sysdep.h
     1.5 +--- gdb-6.8.orig/bfd/sysdep.h	2007-07-03 16:26:42.000000000 +0200
     1.6 ++++ gdb-6.8/bfd/sysdep.h	2011-08-21 13:33:47.000000000 +0200
     1.7 +@@ -131,7 +131,7 @@
     1.8 + extern PTR realloc ();
     1.9 + #endif
    1.10 + 
    1.11 +-#if !HAVE_DECL_STPCPY
    1.12 ++#if !HAVE_DECL_STPCPY && !defined(stpcpy)
    1.13 + extern char *stpcpy (char *__dest, const char *__src);
    1.14 + #endif
    1.15 +