/* replacement function of gettimeofday */ #include "config.h" #include #ifdef WIN32 #include #else #include #endif int xine_private_gettimeofday(struct timeval *tv) { struct timeb tp; ftime(&tp); tv->tv_sec = tp.time; tv->tv_usec = tp.millitm * 1000; return 0; }