From: solar Date: Sat, 3 Dec 2005 21:36:50 +0000 (+0000) Subject: Added #ifdef to allow for regression against system library. X-Git-Tag: v0.4~53 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=36bd8c4270f23b2633bc75db67467f327e65b218 Added #ifdef to allow for regression against system library. --- diff --git a/functions/stdlib/atoi.c b/functions/stdlib/atoi.c index 75987e0..697c77c 100644 --- a/functions/stdlib/atoi.c +++ b/functions/stdlib/atoi.c @@ -9,12 +9,17 @@ */ #include <_PDCLIB_int.h> +#include + +#ifndef REGTEST int atoi( const char * s ) { return (int) _PDCLIB_atomax( s ); } +#endif + #ifdef TEST #include <_PDCLIB_test.h> diff --git a/functions/stdlib/atol.c b/functions/stdlib/atol.c index b779f56..00b933d 100644 --- a/functions/stdlib/atol.c +++ b/functions/stdlib/atol.c @@ -9,12 +9,17 @@ */ #include <_PDCLIB_int.h> +#include + +#ifndef REGTEST long int atol( const char * s ) { return (long int) _PDCLIB_atomax( s ); } +#endif + #ifdef TEST #include <_PDCLIB_test.h> diff --git a/functions/stdlib/atoll.c b/functions/stdlib/atoll.c index 62abef1..767a453 100644 --- a/functions/stdlib/atoll.c +++ b/functions/stdlib/atoll.c @@ -9,12 +9,17 @@ */ #include <_PDCLIB_int.h> +#include + +#ifndef REGTEST long long int atoll( const char * s ) { return (long long int) _PDCLIB_atomax( s ); } +#endif + #ifdef TEST #include <_PDCLIB_test.h>