view osdep/gettimeofday.c @ 9833:9cdbcd86c176

temporary disable mf support for systems without glob
author faust3
date Fri, 04 Apr 2003 20:32:21 +0000
parents 0f2cc9ef24f6
children 5c639ec8c39e
line wrap: on
line source


#ifndef HAVE_GETTIMEOFDAY
#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;
}
#endif