]> pd.if.org Git - pdclib/commitdiff
Added #ifdef to allow for regression against system library.
authorsolar <unknown>
Sat, 3 Dec 2005 21:36:50 +0000 (21:36 +0000)
committersolar <unknown>
Sat, 3 Dec 2005 21:36:50 +0000 (21:36 +0000)
functions/stdlib/atoi.c
functions/stdlib/atol.c
functions/stdlib/atoll.c

index 75987e0a33d8d2d1c9d8d8daa5e8a44420b0332e..697c77c1117327b896947b0cc9886ee87a384627 100644 (file)
@@ -9,12 +9,17 @@
 */
 
 #include <_PDCLIB_int.h>
+#include <stdlib.h>
+
+#ifndef REGTEST
 
 int atoi( const char * s )
 {
     return (int) _PDCLIB_atomax( s );
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
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>
 
index 62abef1e53183fdbb8c165c70949b77bf607f996..767a4533babf555289e64e244614c5ff4420216b 100644 (file)
@@ -9,12 +9,17 @@
 */
 
 #include <_PDCLIB_int.h>
+#include <stdlib.h>
+
+#ifndef REGTEST
 
 long long int atoll( const char * s )
 {
     return (long long int) _PDCLIB_atomax( s );
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>