1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Support platforms where strtoll/strtoull are spelled __strtoll/__strtoull.

Ancient HPUX, for one, does this.  We hadn't noticed due to the lack
of regression tests that required a working strtoll.

(I was slightly tempted to remove the other historical spelling,
strto[u]q, since it seems we have no buildfarm members testing that case.
But I refrained.)

Discussion: https://postgr.es/m/151935568942.1461.14623890240535309745@wrigleys.postgresql.org
This commit is contained in:
Tom Lane
2018-05-19 14:22:19 -04:00
parent e9f475f991
commit 91f3bcc9e4
5 changed files with 41 additions and 28 deletions

6
configure vendored
View File

@ -23221,7 +23221,8 @@ fi
for ac_func in strtoll strtoq
for ac_func in strtoll __strtoll strtoq
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
@ -23323,7 +23324,8 @@ done
for ac_func in strtoull strtouq
for ac_func in strtoull __strtoull strtouq
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5