__time.h
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

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