view nt/inc/sys/time.h @ 28365:a72abbd8dc16

(mark_maybe_object): New function. (mark_memory): Use it. (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. (setjmp_tested_p, longjmp_done): New variables. (test_setjmp): New function. (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. (init_alloc): Initialize setjmp_tested_p and longjmp_done.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 27 Mar 2000 19:42:47 +0000
parents fa66d09c3310
children 23a1cea22d13
line wrap: on
line source

#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 */