pgsql: Assume that we have rint().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Assume that we have rint().
Date: 2020-02-21 19:31:40
Message-ID: E1j5E1U-0003ko-6d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Assume that we have rint().

Windows has this since _MSC_VER >= 1200, and so do all other live
platforms according to the buildfarm, so remove the configure probe
and src/port/ substitution.

This is part of a series of commits to get rid of no-longer-relevant
configure checks and dead src/port/ code. I'm committing them separately
to make it easier to back out individual changes if they prove less
portable than I expect.

Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
configure | 13 ------
configure.in | 1 -
src/include/pg_config.h.in | 3 --
src/include/port.h | 4 --
src/port/rint.c | 97 ---------------------------------------------
src/tools/msvc/Mkvcbuild.pm | 2 -
src/tools/msvc/Solution.pm | 1 -
7 files changed, 121 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-02-21 19:58:43 pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
Previous Message Peter Eisentraut 2020-02-21 19:02:27 pgsql: Fix compiler warnings on 64-bit Windows