diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index ce71674086..2bf29445df 100644 --- a/include/string.h +++ b/include/string.h @@ -162,6 +162,11 @@ extern __typeof (mempcpy) mempcpy __asm__ ("__mempcpy"); extern __typeof (stpcpy) stpcpy __asm__ ("__stpcpy"); #endif +/* Redirect internal calls to builtins. */ +#ifndef __stpcpy +# define __stpcpy(dest, src) __builtin_stpcpy (dest, src) +#endif + extern void *__memcpy_chk (void *__restrict __dest, const void *__restrict __src, size_t __len, size_t __destlen) __THROW; |