mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-21 21:20:44 -08:00
lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): Don't depend on $(EMACS_ROOT)/nt/inc/sys/time.h. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Revert last change. src/makefile.w32-in (TIMESPEC_H): Remove nt/inc/sys/time.h. (SYSTIME_H): Add nt/inc/sys/time.h. src/systime.h [WINDOWSNT]: Include sys/time.h. src/s/ms-w32.h (struct timespec): Definition moved from nt/inc/sys/time.h. Suggested by Paul Eggert <eggert@cs.ucla.edu>. nt/inc/sys/time.h (struct timespec): Don't define it here, it is now defined in src/s/ms-w32.h. Fixes: debbugs:9000
25 lines
429 B
C
25 lines
429 B
C
#ifndef SYS_TIME_H_INCLUDED
|
|
#define SYS_TIME_H_INCLUDED
|
|
|
|
/*
|
|
* sys/time.h doesn't exist on NT
|
|
*/
|
|
|
|
struct timeval
|
|
{
|
|
long tv_sec; /* seconds */
|
|
long tv_usec; /* microseconds */
|
|
};
|
|
|
|
struct timezone
|
|
{
|
|
int tz_minuteswest; /* minutes west of Greenwich */
|
|
int tz_dsttime; /* type of dst correction */
|
|
};
|
|
|
|
void gettimeofday (struct timeval *, struct timezone *);
|
|
|
|
#endif /* SYS_TIME_H_INCLUDED */
|
|
|
|
/* end of sys/time.h */
|
|
|