diff options
Diffstat (limited to 'mit-pthreads/machdep/hpux-10.20/__time.h')
-rwxr-xr-x | mit-pthreads/machdep/hpux-10.20/__time.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/hpux-10.20/__time.h b/mit-pthreads/machdep/hpux-10.20/__time.h new file mode 100755 index 00000000000..ae958dcc3cf --- /dev/null +++ b/mit-pthreads/machdep/hpux-10.20/__time.h @@ -0,0 +1,31 @@ +/* $Id$ */ + +#ifndef __sys_stdtypes_h + +#ifndef _SYS__TIME_H_ +#define _SYS__TIME_H_ + +#ifndef _CLOCK_T +#define _CLOCK_T +typedef long clock_t; +#endif + +#ifndef _TIME_T +#define _TIME_T +typedef long time_t; +#endif + +#ifndef _SIZE_T +#define _SIZE_T +typedef unsigned int size_t; +#endif + +#define CLOCKS_PER_SEC 1000000 + +#if !defined(_ANSI_SOURCE) && !defined(CLK_TCK) +#define CLK_TCK 60 +#endif /* not ANSI */ + +#endif + +#endif /* !_SYS__TIME_H_ */ |