diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2001-09-28 06:54:20 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2001-09-28 06:54:20 +0000 |
commit | bab605d5bd4c38998ec9629465bf8cfdfcc45cdf (patch) | |
tree | 35500b2b7c0a726671054089fbd1fe36b58dd699 | |
parent | 9c93a32114dc61d91b2aa4090445cafb032d8885 (diff) | |
download | tar-bab605d5bd4c38998ec9629465bf8cfdfcc45cdf.tar.gz |
(strtol): Do not declare if HAVE_DECL_STRTOL.
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.
-rw-r--r-- | lib/xstrtol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c index d7ca6cf5..88071cdc 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 |