]> pd.if.org Git - pdclib/blobdiff - functions/string/strcpy.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / strcpy.c
index 49204da54ba27d679de4fe6679daf1cb806131db..8d55b67f808eed138e7b2bbc3eb25d9b6573f655 100644 (file)
@@ -9,6 +9,9 @@
 */
 
 #include <_PDCLIB_aux.h>
+#include <string.h>
+
+#ifndef REGTEST
 
 char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
 {
@@ -17,6 +20,8 @@ char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
     return rc;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>