mirror of https://github.com/neutrinolabs/xrdp
remove CLK_TCK, not always defined
This commit is contained in:
parent
e4d8ba4ce9
commit
b7e71971a1
|
@ -1571,6 +1571,6 @@ g_time2(void)
|
|||
clock_t num_ticks;
|
||||
|
||||
num_ticks = times(&tm);
|
||||
return (int)((num_ticks / CLK_TCK) * 1000);
|
||||
return (int)(num_ticks * 10);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue