Remove configure probe for clock_gettime.
authorThomas Munro <tmunro@postgresql.org>
Fri, 5 Aug 2022 03:56:36 +0000 (15:56 +1200)
committerThomas Munro <tmunro@postgresql.org>
Fri, 5 Aug 2022 04:37:11 +0000 (16:37 +1200)
commit623cc67347cc62eb676570c81abe5e1f63ecaa1e
tree8182f8e5940606c75529b3905602d46174b78804
parent92f375056c11193c26f1278446e6301f0c18ea22
Remove configure probe for clock_gettime.

clock_gettime() is in SUSv2 and all targeted Unix systems have it.
Remove a chunk of fallback code for old Unix is no longer reachable on
modern systems, and untested as of the retirement of build farm animal
prairiedog.

There is no need to retain a HAVE_CLOCK_GETTIME macro here, because it
is already used in a context with Unix and Windows code paths.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
configure
configure.ac
src/include/pg_config.h.in
src/include/portability/instr_time.h
src/tools/msvc/Solution.pm