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;
|
clock_t num_ticks;
|
||||||
|
|
||||||
num_ticks = times(&tm);
|
num_ticks = times(&tm);
|
||||||
return (int)((num_ticks / CLK_TCK) * 1000);
|
return (int)(num_ticks * 10);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user