diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-08-06 09:59:45 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-08-06 09:59:51 +1200 |
commit | feb593506b9b57e21052a9a7323e8f23faabdde6 (patch) | |
tree | 9885e20f05a76a05c1c61625d6e63f6d55ed33e8 /src/timezone | |
parent | f68faf4c7530e39e626b0aa3e4a36376e122fce7 (diff) | |
download | postgresql-feb593506b9b57e21052a9a7323e8f23faabdde6.tar.gz |
Remove fallbacks for strtoll, strtoull.
strtoll was backfilled with either __strtoll or strtoq on systems without
strtoll. The last such system on the buildfarm was an ancient HP-UX animal. We
don't support HP-UX anymore, so remove.
On other systems strtoll was present, but did not have a declaration. The last
known instance on the buildfarm was running an ancient OSX and shut down in
2019.
Author: Andres Freund <andres@anarazel.de>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220804013546.h65najrzig764jar@awork3.anarazel.de
Diffstat (limited to 'src/timezone')
-rw-r--r-- | src/timezone/private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/timezone/private.h b/src/timezone/private.h index 533e3d9f4e..39d40e43a9 100644 --- a/src/timezone/private.h +++ b/src/timezone/private.h @@ -46,11 +46,7 @@ /* PG doesn't currently rely on <inttypes.h>, so work around strtoimax() */ #undef strtoimax -#ifdef HAVE_STRTOLL #define strtoimax strtoll -#else -#define strtoimax strtol -#endif /* |