Simplify replacement code for strtof.
authorThomas Munro <tmunro@postgresql.org>
Sun, 7 Aug 2022 00:42:11 +0000 (12:42 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 7 Aug 2022 00:42:41 +0000 (12:42 +1200)
commitcbf4403134738245db48b306c62eb1258f2b2bd0
tree8701627bd54d0a1fc23ac0180dc3608d019044f5
parent24c3ce8f1c707f9eeb1f68cebd44c2516ff799c2
Simplify replacement code for strtof.

strtof() is in C99 and all targeted systems have it.  We can remove the
configure probe and some dead code, but we still need replacement code
for a couple of systems that have known buggy implementations selected
via platform template.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/152683.1659830125%40sss.pgh.pa.us
configure
configure.ac
src/include/pg_config.h.in
src/include/port.h
src/port/strtof.c
src/tools/msvc/Solution.pm