|
|
1.1 root 1: #ifndef __COMMON__CLOCK_H__
2: #define __COMMON__CLOCK_H__
3:
4: /*
5: * This internal header file is intended as the sole point of definition for
6: * the ISO C data type "clock_t". To support cross-compilation environments,
7: * this header file uses a variety of feature tests to avoid conflict with
8: * definitions supplied by the translator headers.
9: */
10:
11: #include <common/feature.h>
12: #include <common/__clock.h>
13:
14: #if __BORLANDC__
15:
16: # ifndef _CLOCK_T
17: # define _CLOCK_T
18: typedef __clock_t clock_t;
19:
20: #include <common/_clktck.h>
21:
22: # endif
23:
24: #elif __GNUDOS__
25:
26: typedef __clock_t clock_t;
27:
28: #elif __COHERENT__
29:
30: typedef __clock_t clock_t;
31:
32: #else
33:
34: # error clock_t not known for this system
35:
36: #endif
37:
38: #endif /* ! defined (__COMMON__CLOCK_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.