mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-12 05:05:51 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9425 d0543943-73ff-0310-b7d9-9358b9ac24b2
15 lines
240 B
C
15 lines
240 B
C
#ifdef _MSC_VER
|
|
#pragma warning(disable:4100)
|
|
#endif
|
|
|
|
#include "windows.h"
|
|
|
|
void gettimeofday(struct timeval *tv, void *tz)
|
|
{
|
|
long int l = GetTickCount();
|
|
|
|
tv->tv_sec = l / 1000;
|
|
tv->tv_usec = (l % 1000) * 1000;
|
|
return;
|
|
}
|