home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 1.ddi / INC / TIMEB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-19  |  750 b   |  46 lines

  1. /*
  2.  *   timeb.h -- extra-ANSI 
  3.  *
  4.  *   Definitions needed by the ftime function.
  5.  *
  6.  *           Copyright (c) 1990, MetaWare Incorporated
  7.  */
  8.  
  9. #ifndef _TIMEB_H
  10. #define _TIMEB_H
  11. #pragma push_align_members(64);
  12.  
  13. #ifdef __CPLUSPLUS__
  14. extern "C" {
  15. #endif
  16.  
  17. #ifndef _TIME_T_DEFINED
  18. #define _TIME_T_DEFINED
  19. typedef long time_t;
  20. #endif
  21.  
  22. #ifndef _TIMEB_DEFINED
  23. #define _TIMEB_DEFINED
  24. struct _timeb {
  25.     time_t time;
  26.     unsigned short millitm;
  27.     short timezone;
  28.     short dstflag;
  29.     };
  30. #endif
  31.  
  32. extern void _ftime(struct _timeb * __tptr);
  33.  
  34. #if __HIGHC__
  35.  
  36. #define timeb _timeb
  37.  
  38. extern void ftime(struct timeb * __tptr);
  39.  
  40. #endif /* __HIGHC__ */
  41. #ifdef __CPLUSPLUS__
  42. }
  43. #endif
  44. #pragma pop_align_members();
  45. #endif /* _TIMEB_H */
  46.