~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to mit-pthreads/machdep/irix-5.2/__time.h

  • Committer: bk at mysql
  • Date: 2000-07-31 19:29:14 UTC
  • Revision ID: sp1r-bk@work.mysql.com-20000731192914-08846
Import changeset

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#if !defined(_SIZE_T) && !defined(_SIZE_T_)
 
2
#define _SIZE_T
 
3
typedef pthread_size_t size_t;
 
4
#endif 
 
5
 
 
6
#ifndef _CLOCK_T
 
7
#define _CLOCK_T
 
8
typedef pthread_clock_t clock_t;
 
9
#endif 
 
10
 
 
11
#ifndef _TIME_T
 
12
#define _TIME_T
 
13
typedef pthread_time_t time_t;
 
14
#endif /* !_TIME_T */
 
15
 
 
16
#define CLOCKS_PER_SEC          1000000
 
17
 
 
18
#ifndef CLK_TCK
 
19
#define CLK_TCK sysconf(3)      /* clock ticks per second */
 
20
                                /* 3 is _SC_CLK_TCK */
 
21
#endif