=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Always define UTIME_OMIT if not yet defined.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 23 15:21:01 CST 2014
Module: wine
Branch: master
Commit: 9598a39bdbcd3def55b0cc4ca885306297a7299f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9598a39bdbcd3def55b0cc4ca885306297a7299f
Author: André Hentschel <nerv at 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;
More information about the wine-cvs
mailing list