X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fxstrtol.c;h=88071cdc53b3403aa473c053e3f8d4932997130d;hb=eeb610da48a90e2419b9d2b4ab63d13307c0569b;hp=7bc733545c2ae8efc7ec1d7aea597cb4455b87cb;hpb=1ff433e49eae96e2a3fb16eff2da5b837f9f1e06;p=chaz%2Ftar diff --git a/lib/xstrtol.c b/lib/xstrtol.c index 7bc7335..88071cd 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -1,5 +1,5 @@ /* A more useful interface to strtol. - Copyright (C) 1995, 1996, 1998-2000 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1998-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -78,15 +78,19 @@ extern int errno; #include "xstrtol.h" -#ifndef strtol +#if !HAVE_DECL_STRTOL && !defined strtol long int strtol (); #endif -#ifndef strtoul +#if !HAVE_DECL_STRTOUL && !defined strtoul unsigned long int strtoul (); #endif -#ifndef strtoumax +#if !HAVE_DECL_STRTOIMAX && !defined strtoimax +intmax_t strtoimax (); +#endif + +#if !HAVE_DECL_STRTOUMAX && !defined strtoumax uintmax_t strtoumax (); #endif