Module: wine Branch: master Commit: 9598a39bdbcd3def55b0cc4ca885306297a7299f URL: http://source.winehq.org/git/wine.git/?a=commit;h=9598a39bdbcd3def55b0cc4ca8...
Author: André Hentschel nerv@dawncrow.de Date: Mon Dec 22 12:50:32 2014 +0100
ntdll: Always define UTIME_OMIT if not yet defined.
---
dlls/ntdll/file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index b856b3d..5232027 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -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;