summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTom Lane2020-02-21 18:47:40 +0000
committerTom Lane2020-02-21 19:30:47 +0000
commitf88a058200a40032e88a8bfc1aea453c22d2dcb0 (patch)
tree3e08c0ededeb5e7daa84d30c67e079ac782f63bc /src/tools
parent1200d71a09177b7e64167df440d0c9bd16111ebe (diff)
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
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc/Mkvcbuild.pm2
-rw-r--r--src/tools/msvc/Solution.pm1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm
index 6a1435f4566..2e87d81172d 100644
--- a/src/tools/msvc/Mkvcbuild.pm
+++ b/src/tools/msvc/Mkvcbuild.pm
@@ -104,8 +104,6 @@ sub mkvcbuild
sprompt.c strerror.c tar.c thread.c
win32env.c win32error.c win32security.c win32setlocale.c);
- push(@pgportfiles, 'rint.c') if ($vsVersion < '12.00');
-
push(@pgportfiles, 'strtof.c') if ($vsVersion < '14.00');
if ($vsVersion >= '9.00')
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 56d52fc3310..cb03d03a971 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -321,7 +321,6 @@ sub GenerateFiles
HAVE_READLINE_HISTORY_H => undef,
HAVE_READLINE_READLINE_H => undef,
HAVE_READLINK => undef,
- HAVE_RINT => 1,
HAVE_RL_COMPLETION_APPEND_CHARACTER => undef,
HAVE_RL_COMPLETION_MATCHES => undef,
HAVE_RL_COMPLETION_SUPPRESS_QUOTE => undef,