home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / Sys / TYPES.H < prev   
Encoding:
C/C++ Source or Header  |  1999-01-26  |  970 b   |  58 lines

  1. /*  types.h
  2.  
  3.     Types for dealing with time.
  4.  
  5. */
  6.  
  7. /*
  8.  *      C/C++ Run Time Library - Version 9.5
  9.  *
  10.  *      Copyright (c) 1987, 1999 by Inprise Corporation
  11.  *      All Rights Reserved.
  12.  *
  13.  */
  14.  
  15. /* $Revision:   9.2  $ */
  16.  
  17. #if !defined(__TYPES_H)
  18. #define __TYPES_H
  19.  
  20. #ifdef __cplusplus
  21. namespace std {
  22. #endif /* __cplusplus */
  23.  
  24. #ifndef  _TIME_T
  25. typedef long time_t;
  26. #ifdef __cplusplus
  27. #  define _TIME_T std::time_t
  28. #else
  29. #  define _TIME_T time_t
  30. #endif /* __cplusplus */
  31. #endif
  32.  
  33. typedef short dev_t;
  34. typedef short ino_t;
  35. typedef short mode_t;
  36. typedef short nlink_t;
  37. typedef int   uid_t;
  38. typedef int   gid_t;
  39. typedef long  off_t;
  40.  
  41. #ifdef __cplusplus
  42. } // std
  43. #  ifndef __USING_CNAME__
  44.    using std::time_t;
  45.    using std::dev_t;
  46.    using std::ino_t;
  47.    using std::mode_t;
  48.    using std::nlink_t;
  49.    using std::uid_t;
  50.    using std::gid_t;
  51.    using std::off_t;
  52. #endif
  53. #endif /* __cplusplus */
  54.  
  55.  
  56. #endif  /* __TYPES_H */
  57.  
  58.