ntdll: Always define UTIME_OMIT if not yet defined.
This commit is contained in:
parent
3af24fe1f4
commit
9598a39bdb
|
@ -1708,10 +1708,13 @@ static int futimens( int fd, const struct timespec spec[2] )
|
||||||
{
|
{
|
||||||
return syscall( __NR_utimensat, fd, NULL, spec, 0 );
|
return syscall( __NR_utimensat, fd, NULL, spec, 0 );
|
||||||
}
|
}
|
||||||
#define UTIME_OMIT ((1 << 30) - 2)
|
|
||||||
#define HAVE_FUTIMENS
|
#define HAVE_FUTIMENS
|
||||||
#endif /* __ANDROID__ */
|
#endif /* __ANDROID__ */
|
||||||
|
|
||||||
|
#ifndef UTIME_OMIT
|
||||||
|
#define UTIME_OMIT ((1 << 30) - 2)
|
||||||
|
#endif
|
||||||
|
|
||||||
static NTSTATUS set_file_times( int fd, const LARGE_INTEGER *mtime, const LARGE_INTEGER *atime )
|
static NTSTATUS set_file_times( int fd, const LARGE_INTEGER *mtime, const LARGE_INTEGER *atime )
|
||||||
{
|
{
|
||||||
NTSTATUS status = STATUS_SUCCESS;
|
NTSTATUS status = STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue