|
|
1.1 ! root 1: #ifndef __SYS__CLOCK_H__ ! 2: #define __SYS__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 <sys/__clock.h> ! 12: ! 13: #if defined (__BORLANDC__) ! 14: ! 15: # ifndef _CLOCK_T ! 16: # define _CLOCK_T ! 17: typedef __clock_t clock_t; ! 18: ! 19: ! 20: #define CLK_TCK 18.2 ! 21: #define CLOCKS_PER_SEC 18.2 ! 22: ! 23: # endif ! 24: ! 25: #elif defined (__GNUC__) ! 26: ! 27: typedef __clock_t clock_t; ! 28: ! 29: #elif defined (__COHERENT__) ! 30: ! 31: typedef __clock_t clock_t; ! 32: ! 33: #else ! 34: ! 35: # error clock_t not known for this system ! 36: ! 37: #endif ! 38: ! 39: #endif /* ! defined (__SYS__CLOCK_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.