diff options
Diffstat (limited to 'mit-pthreads/machdep/alpha-osf1/__time.h')
-rwxr-xr-x | mit-pthreads/machdep/alpha-osf1/__time.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/alpha-osf1/__time.h b/mit-pthreads/machdep/alpha-osf1/__time.h new file mode 100755 index 00000000000..b4ce1ead2bf --- /dev/null +++ b/mit-pthreads/machdep/alpha-osf1/__time.h @@ -0,0 +1,21 @@ +#include <pthread/types.h> +#include <machine/machtime.h> /* CLOCKS_PER_SEC is defined here */ + +#ifndef _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 + +#ifndef CLK_TCK +#define CLK_TCK 60 +#endif |