aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@gmx.net>2011-11-12 21:39:59 +0000
committerJason Merrill <jason@gcc.gnu.org>2011-11-12 16:39:59 -0500
commit123cd4632d459a06603371d65579e92ba844b41b (patch)
treef83eda6500007125ceeae25743a1dd30ed454318 /gcc/system.h
parentf77dca5d23764eb70a1e68f3da89e67427f5e529 (diff)
downloadgcc-123cd4632d459a06603371d65579e92ba844b41b.zip
gcc-123cd4632d459a06603371d65579e92ba844b41b.tar.gz
gcc-123cd4632d459a06603371d65579e92ba844b41b.tar.bz2
re PR bootstrap/51094 (Bootstrap failure at revision 181279 on non-ELF targets)
PR bootstrap/51094 * gcc/configure.ac: Check for stpcpy declaration. * system.h: Declare it if not. * config.in, configure: Regenerate. From-SVN: r181326
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 7c7d07e..0a943a3 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -442,6 +442,10 @@ extern void *sbrk (int);
extern char *strstr (const char *, const char *);
#endif
+#if defined (HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY
+extern char *stpcpy (char *, const char *);
+#endif
+
#ifdef __cplusplus
}
#endif