ntdll: Always define UTIME_OMIT if not yet defined.

This commit is contained in:
André Hentschel 2014-12-22 12:50:32 +01:00 committed by Alexandre Julliard
parent 3af24fe1f4
commit 9598a39bdb
1 changed files with 4 additions and 1 deletions

View File

@ -1708,10 +1708,13 @@ static int futimens( int fd, const struct timespec spec[2] )
{
return syscall( __NR_utimensat, fd, NULL, spec, 0 );
}
#define UTIME_OMIT ((1 << 30) - 2)
#define HAVE_FUTIMENS
#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 )
{
NTSTATUS status = STATUS_SUCCESS;