]> pd.if.org Git - pdclib/blobdiff - functions/string/strlen.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / strlen.c
index 02d105cf0b8e1b697dfddb97af47c5b33ade8770..17ab3cfd948b4331b43904a9f8f959b6db011347 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <string.h>
 
+#ifndef REGTEST
+
 size_t strlen( const char * s )
 {
     size_t rc = 0;
@@ -20,6 +22,8 @@ size_t strlen( const char * s )
     return rc;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>