view osdep/gettimeofday.c @ 24613:a1dd22567239

r21748: Reformatting round continued r21760: Directly point to the Subversion instructions. r21791: avoid a possible confusion, as suggested by Wanderer r21802: x264 is MPEG-4 AVC, not ASP r21849: fix typo
author kraymer
date Thu, 27 Sep 2007 17:45:28 +0000
parents 936209c39ed1
children 5cfef41a1771
line wrap: on
line source

#include "config.h"

#include <sys/time.h>
#include <sys/timeb.h>
void gettimeofday(struct timeval* t,void* timezone)
{       struct timeb timebuffer;
        ftime( &timebuffer );
        t->tv_sec=timebuffer.time;
        t->tv_usec=1000*timebuffer.millitm;
}