X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fxstrtol.c;h=88071cdc53b3403aa473c053e3f8d4932997130d;hb=6e98015774ed2e49f5d8843cd76be4275bfd4064;hp=d7ca6cf5bee9fb4773030bbe78d9f918d318075f;hpb=1589ca47d0448f87b9a492bf5a527e53f7f1cc77;p=chaz%2Ftar diff --git a/lib/xstrtol.c b/lib/xstrtol.c index d7ca6cf..88071cd 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -78,19 +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 -#if !HAVE_DECL_STRTOIMAX +#if !HAVE_DECL_STRTOIMAX && !defined strtoimax intmax_t strtoimax (); #endif -#if !HAVE_DECL_STRTOUMAX +#if !HAVE_DECL_STRTOUMAX && !defined strtoumax uintmax_t strtoumax (); #endif