]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/atol.c
Added #ifdef to allow for regression against system library.
[pdclib] / functions / stdlib / atol.c
index b779f564e7d5c1ce390991e6ecdc12dbf1a3229c..00b933d7dc0480ac4d44f4b60f857b7854039351 100644 (file)
@@ -9,12 +9,17 @@
 */
 
 #include <_PDCLIB_int.h>
+#include <stdlib.h>
+
+#ifndef REGTEST
 
 long int atol( const char * s )
 {
     return (long int) _PDCLIB_atomax( s );
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>