[PATCH] ntdll/tests: Add RtlQueryPerformanceCounter tests.

Jacek Caban jacek at codeweavers.com
Thu Mar 18 10:07:08 CDT 2021


Hi Rémi,

On 17.03.2021 10:31, Rémi Bernon wrote:
> +#ifndef _MSVC_VER
> +static UINT64 __umulh(UINT64 a, UINT64 b)
> +{
> +    UINT64 ah = a >> 32, al = (UINT32)a, bh = b >> 32, bl = (UINT32)b, m;
> +    m = (ah * bl) + (bh * al) + ((al * bl) >> 32);
> +    return (ah * bh) + (m >> 32);
> +}
> +#endif


I think you meant _MSC_VER here and it's not available for 32-bit 
targets anyway. You could just rename the helper to avoid the collision 
instead.


Jacek




More information about the wine-devel mailing list