diff options
author | Dimitrios Apostolou <jimis@gmx.net> | 2011-11-12 21:39:59 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2011-11-12 21:39:59 +0000 |
commit | 01fbaf8f908d1524bb1fc0f676d7a627bf6c4f76 (patch) | |
tree | f83eda6500007125ceeae25743a1dd30ed454318 /gcc/system.h | |
parent | a7b598e03506ead4b554288396213d543b086aca (diff) |
PR bootstrap/51094
* gcc/configure.ac: Check for stpcpy declaration.
* system.h: Declare it if not.
* config.in, configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181326 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 7c7d07ea3ee..0a943a3a3fe 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 |