ref: 2e3485429bccbf7793d1d5a7e47b0d69c06a3bc9
dir: /common/mp4v2/need_for_win32.c/
#include "systems.h"
#include <sys/timeb.h>
int gettimeofday (struct timeval *t, void *foo)
{
struct _timeb temp;
_ftime(&temp);
t->tv_sec = temp.time;
t->tv_usec = temp.millitm * 1000;
return (0);
}