1*b4dd7d09SAndy Fiddaman/* : : generated from contrib/ast/src/cmd/ksh93/features/time by iffe version 2012-07-17 : : */ 2*b4dd7d09SAndy Fiddaman#ifndef _def_time_ksh93 3*b4dd7d09SAndy Fiddaman#define _def_time_ksh93 1 4*b4dd7d09SAndy Fiddaman#define _sys_types 1 /* #include <sys/types.h> ok */ 5*b4dd7d09SAndy Fiddaman#define _hdr_utime 1 /* #include <utime.h> ok */ 6*b4dd7d09SAndy Fiddaman#define _lib_gettimeofday 1 /* gettimeofday() in default lib(s) */ 7*b4dd7d09SAndy Fiddaman#define _lib_setitimer 1 /* setitimer() in default lib(s) */ 8*b4dd7d09SAndy Fiddaman#define _sys_time 1 /* #include <sys/time.h> ok */ 9*b4dd7d09SAndy Fiddaman#define _mem_tv_usec_timeval 1 /* tv_usec is a member of struct timeval */ 10*b4dd7d09SAndy Fiddaman#define _lib_2_timeofday 1 /* 2 arg gettimeofday() */ 11*b4dd7d09SAndy Fiddaman#undef _def_time 12*b4dd7d09SAndy Fiddaman#include <times.h> 13*b4dd7d09SAndy Fiddaman#define _def_time 1 14*b4dd7d09SAndy Fiddaman#undef timeofday 15*b4dd7d09SAndy Fiddaman#if _lib_2_timeofday 16*b4dd7d09SAndy Fiddaman#define timeofday(p) gettimeofday(p,(struct timezone*)0) 17*b4dd7d09SAndy Fiddaman#else 18*b4dd7d09SAndy Fiddaman#if _lib_1_timeofday 19*b4dd7d09SAndy Fiddaman#define timeofday(p) gettimeofday(p) 20*b4dd7d09SAndy Fiddaman#endif 21*b4dd7d09SAndy Fiddaman#endif 22*b4dd7d09SAndy Fiddaman 23*b4dd7d09SAndy Fiddaman#endif 24