|
|
1.1 root 1: #ifndef __SYS__TIME_H__
2: #define __SYS__TIME_H__
3:
4: /*
5: * This internal header file is intended as the sole point of definition for
6: * the ISO C data type "time_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 <sys/__time.h>
12:
13:
14: #if defined (__BORLANDC__)
15:
16: # ifndef _TIME_T
17: # define _TIME_T
18: typedef __time_t time_t;
19: # endif
20:
21: #elif defined (__GNUC__)
22:
23: /*
24: * For DJCC v1.09, you will have to modify <sys/types.h> to guard against
25: * multiple definitions. The header structure is hosed.
26: */
27:
28: # ifndef _TIME_T
29: # define _TIME_T
30: typedef __time_t time_t;
31: # endif
32:
33: #elif defined (__COHERENT__)
34:
35: typedef __time_t time_t;
36:
37: #else
38:
39: # error time_t not known for this system
40:
41: #endif
42:
43:
44: #endif /* ! defined (__SYS__TIME_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.