From 36bd8c4270f23b2633bc75db67467f327e65b218 Mon Sep 17 00:00:00 2001 From: solar Date: Sat, 3 Dec 2005 21:36:50 +0000 Subject: [PATCH] Added #ifdef to allow for regression against system library. --- functions/stdlib/atoi.c | 5 +++++ functions/stdlib/atol.c | 5 +++++ functions/stdlib/atoll.c | 5 +++++ 3 files changed, 15 insertions(+) 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> -- 2.40.0