pgsql: Support platforms where strtoll/strtoull are spelled __strtoll/_

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support platforms where strtoll/strtoull are spelled __strtoll/_
Date: 2018-05-19 18:22:39
Message-ID: E1fK6V5-0001lq-Nm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a5be529aaade5ffaf30bd423365b2dd0e1dffff7

Modified Files
--------------
configure | 4 ++--
configure.in | 4 ++--
src/include/c.h | 47 ++++++++++++++++++++++++++-----------------
src/include/pg_config.h.in | 6 ++++++
src/include/pg_config.h.win32 | 6 ------
5 files changed, 39 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-05-19 20:04:57 pgsql: Assorted minor cleanups for bootstrap-data Perl scripts.
Previous Message Tom Lane 2018-05-19 02:42:35 pgsql: Arrange to supply declarations for strtoll/strtoull if needed.