12 Feb
2025
12 Feb
'25
11:44 a.m.
From: Marc-Aurel Zent <mzent(a)codeweavers.com> --- dlls/ntdll/unix/sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/unix/sync.c b/dlls/ntdll/unix/sync.c index 3665b8b8626..47c10e80b6b 100644 --- a/dlls/ntdll/unix/sync.c +++ b/dlls/ntdll/unix/sync.c @@ -1831,7 +1831,8 @@ NTSTATUS system_time_precise( void *args ) { LONGLONG *ret = args; struct timeval now; -#ifdef HAVE_CLOCK_GETTIME + /* Excluding macOS here for the reason outlined in NtQuerySystemTime */ +#if defined(HAVE_CLOCK_GETTIME) && !defined(__APPLE__) struct timespec ts; if (!clock_gettime( CLOCK_REALTIME, &ts )) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7256