From 9e2ddf8e4cfe2c31fb2733670761c72948238331 Mon Sep 17 00:00:00 2001 From: carmen rocco Date: Mon, 23 Aug 2004 03:48:57 +0000 Subject: hd-clear (NT) svn path=/trunk/externals/ggee/; revision=1971 --- signal/rtin~.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'signal') diff --git a/signal/rtin~.c b/signal/rtin~.c index d086003..5338137 100755 --- a/signal/rtin~.c +++ b/signal/rtin~.c @@ -1,15 +1,20 @@ /* (C) Guenter Geiger */ - - #include - #include - #include - #include - #include - -// int gettimeofday(struct timeval *tv, struct timezone *tz); - - +#include +#include +#include +#include +#include + +#ifdef NT +#include +void gettimeofday(struct timeval* t,void* timezone) +{ struct timeb timebuffer; + ftime( &timebuffer ); + t->tv_sec=timebuffer.time; + t->tv_usec=1000*timebuffer.millitm; +} +#endif #include "math.h" #include -- cgit v1.2.1