mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Assume that we have utime() and <utime.h>.
These are required by POSIX since SUSv2, and no live platforms fail to provide them. On Windows, utime() exists and we bring our own <utime.h>, so we're good there too. So remove the configure probes and ad-hoc substitute code. We don't need to check for utimes() anymore either, since that was only used as a substitute. In passing, make the Windows build include <sys/utime.h> only where we need it, not everywhere. 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
This commit is contained in:
@ -390,9 +390,6 @@ sub GenerateFiles
|
||||
HAVE_UNIX_SOCKETS => undef,
|
||||
HAVE_UNSETENV => undef,
|
||||
HAVE_USELOCALE => undef,
|
||||
HAVE_UTIME => 1,
|
||||
HAVE_UTIMES => undef,
|
||||
HAVE_UTIME_H => 1,
|
||||
HAVE_UUID_BSD => undef,
|
||||
HAVE_UUID_E2FS => undef,
|
||||
HAVE_UUID_OSSP => undef,
|
||||
|
Reference in New Issue
Block a user