remove gettimeofday stuff

This commit is contained in:
pommicket 2022-02-19 12:21:07 -05:00
parent 9c6b9a1450
commit 7deda52af6
2 changed files with 4 additions and 2 deletions

View file

@ -236,10 +236,12 @@ static unsigned getclock_ms(void)
{
#ifdef _WIN32
return GetTickCount();
#else
#elif 0
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec*1000 + (tv.tv_usec+500)/1000;
#else
return 0;
#endif
}