view nt/inc/sys/time.h @ 49302:17a9a82ad89f

(mouse_position_for_popup): New function. (Fx_popup_menu): Call mouse_position_for_popup for X and mouse_position_hook for others.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 18 Jan 2003 09:55:37 +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 */