summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-07 12:35:11 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-07 12:35:36 +1200
commit24c3ce8f1c707f9eeb1f68cebd44c2516ff799c2 (patch)
tree66e3690144273cc17c6117ab900172fbb1d041c7 /configure.ac
parent5c7121bcf8dbe94344742a5cd0fa0f016b7a76a1 (diff)
downloadpostgresql-24c3ce8f1c707f9eeb1f68cebd44c2516ff799c2.tar.gz
Simplify gettimeofday for Windows.
Previously we bothered to forward-declare struct timezone, following man pages on typical systems, but POSIX actually says the argument (which we ignore anyway) is void *. Drop a line. While here, add an assertion that nobody actually uses the tzp argument. Previously we did extra work to select between Windows APIs needed on older releases, but now we can just use the higher resolution function directly. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKGKwRpvGfcfq2qNVAQS2Wg1B9eA9QRhAmVSyJt1zsCN2sQ%40mail.gmail.com
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions