X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fmake-dump-id.c;h=dba2a9c9fbb884f09a16a683949b3c9ea669a4f5;hb=b1e7e6391df535161c6761582e929e80cea67672;hp=6ad213d74a39e528ea0bbbc58b18f5f2f1a15a60;hpb=762383636a99307282c2d93d26c35c046ec24da1;p=chise%2Fxemacs-chise.git.1 diff --git a/lib-src/make-dump-id.c b/lib-src/make-dump-id.c index 6ad213d..dba2a9c 100644 --- a/lib-src/make-dump-id.c +++ b/lib-src/make-dump-id.c @@ -23,26 +23,6 @@ Boston, MA 02111-1307, USA. */ #include #include "../src/systime.h" -#ifdef WIN32_NATIVE -#include - -/* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ -void -gettimeofday (struct timeval *tv, struct timezone *tz) -{ - struct _timeb tb; - _ftime (&tb); - - tv->tv_sec = tb.time; - tv->tv_usec = tb.millitm * 1000L; - if (tz) - { - tz->tz_minuteswest = tb.timezone; /* minutes west of Greenwich */ - tz->tz_dsttime = tb.dstflag; /* type of dst correction */ - } -} -#endif - /* Generates an (extremely) pseudo random number for the dump-id */ static unsigned int generate_dump_id (void)