diff options
Diffstat (limited to 'wcsmbs/wcpcpy.c')
-rw-r--r-- | wcsmbs/wcpcpy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wcsmbs/wcpcpy.c b/wcsmbs/wcpcpy.c index 1c05bca157..0c8ded32e0 100644 --- a/wcsmbs/wcpcpy.c +++ b/wcsmbs/wcpcpy.c @@ -21,7 +21,9 @@ #define __need_ptrdiff_t #include <stddef.h> - +#ifdef WCPCPY +# define __wcpcpy WCPCPY +#endif /* Copy SRC to DEST, returning the address of the terminating L'\0' in DEST. */ wchar_t * @@ -43,4 +45,6 @@ __wcpcpy (dest, src) return wcp; } +#ifndef WCPCPY weak_alias (__wcpcpy, wcpcpy) +#endif |