Commit 5c256c51 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Define obsoleted CLK_TCK to CLOCKS_PER_SEC if not there.

parent e4ba39b3
......@@ -516,6 +516,9 @@ VOID WINAPI GetSystemTimeAsFileTime(
* 2) Time is relative. There is no 'starting date', so there is
* no need for offset correction, like in UnixTimeToFileTime
*/
#ifndef CLK_TCK
# define CLK_TCK CLOCKS_PER_SEC
#endif
static void TIME_ClockTimeToFileTime(clock_t unix_time, LPFILETIME filetime)
{
ULONGLONG secs = RtlEnlargedUnsignedMultiply( unix_time, 10000000 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment