Louis Lenders xerox_xerox2000@yahoo.co.uk writes:
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 7ad56e4..d9f0398 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -64,6 +64,8 @@ #include <mach/vm_map.h> #endif
+#define USER_HZ_TO_TICKSPERSEC(x) (ULONGLONG)10000000 * x / sysconf(_SC_CLK_TCK)
Don't hide sysconf in a macro, call it just once where needed.