]> pd.if.org Git - pdclib/blobdiff - functions/string/memcmp.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / memcmp.c
index 3ac32a213c89d21800d60b80b1926ba0efa90dc0..167355f82a2f4255d7aa0cd08d27d49ac2338459 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <string.h>
 
+#ifndef REGTEST
+
 int memcmp( const void * s1, const void * s2, size_t n )
 {
     const unsigned char * p1 = (const unsigned char *) s1;
@@ -26,6 +28,8 @@ int memcmp( const void * s1, const void * s2, size_t n )
     return 0;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>