summary refs log tree commit diff
path: root/string/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strcpy.c')
-rw-r--r--string/strcpy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/strcpy.c b/string/strcpy.c
index 3ebb51bfd9..c2274622ef 100644
--- a/string/strcpy.c
+++ b/string/strcpy.c
@@ -20,9 +20,13 @@
 
 #undef strcpy
 
+#ifndef STRCPY
+# define STRCPY strcpy
+#endif
+
 /* Copy SRC to DEST.  */
 char *
-strcpy (char *dest, const char *src)
+STRCPY (char *dest, const char *src)
 {
   return memcpy (dest, src, strlen (src) + 1);
 }