summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/irix-5.2/__time.h
blob: 51fb993b38de58109369909d41d5ef8f7b5f4cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#if !defined(_SIZE_T) && !defined(_SIZE_T_)
#define _SIZE_T
typedef pthread_size_t size_t;
#endif 

#ifndef _CLOCK_T
#define _CLOCK_T
typedef pthread_clock_t	clock_t;
#endif 

#ifndef _TIME_T
#define _TIME_T
typedef pthread_time_t time_t;
#endif /* !_TIME_T */

#define CLOCKS_PER_SEC		1000000

#ifndef CLK_TCK
#define CLK_TCK	sysconf(3)	/* clock ticks per second */
				/* 3 is _SC_CLK_TCK */
#endif