Re: [PATCH xserver 4/4] os: Use 64-bit tick count on Windows when available

2017-12-28 Thread Jon Turney
On 27/12/2017 04:10, Jeff Smith wrote: On Windows, GetTickCount() returns a value that wraps after 49.7 days. Windows Vista and later offer GetTickCount64(), which does not have that issue. In places that can make use of more than 32 bits from the tick counter, use a 64-bit counter if

[PATCH xserver 4/4] os: Use 64-bit tick count on Windows when available

2017-12-26 Thread Jeff Smith
On Windows, GetTickCount() returns a value that wraps after 49.7 days. Windows Vista and later offer GetTickCount64(), which does not have that issue. In places that can make use of more than 32 bits from the tick counter, use a 64-bit counter if availabile. Signed-off-by: Jeff Smith