26 Nov
2019
26 Nov
'19
10:40 p.m.
Chip Davis <cdavis(a)codeweavers.com> wrote:
+#ifdef HAVE_MACH_CONTINUOUS_TIME + if (&mach_continuous_time != NULL) + return mach_continuous_time() * timebase.numer / timebase.denom / 100; +#endif
While the compiler will fix it for you it would still be better to use 'if (mach_continuous_time != NULL)' IMO, so that even if the type of the 'mach_continuous_time' is a real function pointer it still works. Same applies to the next patch. That's a pure cosmetics though. -- Dmitry.