]> pd.if.org Git - pdclib/blobdiff - functions/string/memmove.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / memmove.c
index 7c50deeb6ead1e8d0c1cac5a3e2e3e793d7b6931..7a01996b3aceea9dec863bb7a836262d88670783 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <string.h>
 
+#ifndef REGTEST
+
 void * memmove( void * s1, const void * s2, size_t n )
 {
     char * dest = (char *) s1;
@@ -33,6 +35,8 @@ void * memmove( void * s1, const void * s2, size_t n )
     return s1;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>