view nt/inc/sys/time.h @ 108866:4e8dcb0d6fe0

NOT_C_CODE is always true now. * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true. * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h: Remove NOT_C_CODE tests, it is always true now. * nt/config.nt: Remove NOT_C_CODE tests, it is always true now. * admin/CPP-DEFINES: Remove NOT_C_CODE.
author Glenn Morris <rgm@gnu.org>
date Wed, 02 Jun 2010 22:29:02 -0700
parents 695cf19ef79e
children 375f2633d815 ef719132ddfa
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 */

/* arch-tag: bc525883-0c81-4bea-b83d-3325461f38b5
   (do not change this comment) */