home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / ctime < prev    next >
Text File  |  2002-01-10  |  2KB  |  59 lines

  1. /*
  2.  * Copyright (c) 1999 
  3.  * Boris Fomitchev
  4.  *
  5.  * This material is provided "as is", with absolutely no warranty expressed
  6.  * or implied. Any use is at your own risk.
  7.  *
  8.  * Permission to use or copy this software for any purpose is hereby granted 
  9.  * without fee, provided the above notices are retained on all copies.
  10.  * Permission to modify the code and to distribute modified code is granted,
  11.  * provided the above notices are retained, and a notice that the code was
  12.  * modified is included with the above copyright notice.
  13.  *
  14.  */
  15.  
  16. #ifndef _STLP_CTIME
  17. # define _STLP_CTIME
  18.  
  19. # ifndef _STLP_OUTERMOST_HEADER_ID
  20. #  define _STLP_OUTERMOST_HEADER_ID 0x118
  21. #  include <stl/_prolog.h>
  22. # endif
  23.  
  24. # if defined (_STLP_USE_NEW_C_HEADERS)
  25. #  include _STLP_NATIVE_CPP_C_HEADER(ctime)
  26. # elif !defined(_STLP_WINCE)
  27. #  include _STLP_NATIVE_C_HEADER(time.h)
  28. # endif
  29.  
  30. # ifdef _STLP_IMPORT_VENDOR_CSTD
  31. _STLP_BEGIN_NAMESPACE
  32. using _STLP_VENDOR_CSTD::size_t;
  33. using _STLP_VENDOR_CSTD::clock_t;
  34. using _STLP_VENDOR_CSTD::time_t;
  35. using _STLP_VENDOR_CSTD::tm;
  36. #  ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS
  37. using _STLP_VENDOR_CSTD::clock;
  38. using _STLP_VENDOR_CSTD::asctime;
  39. using _STLP_VENDOR_CSTD::ctime;
  40. using _STLP_VENDOR_CSTD::gmtime;
  41. using _STLP_VENDOR_CSTD::difftime;
  42. using _STLP_VENDOR_CSTD::mktime;
  43. using _STLP_VENDOR_CSTD::localtime;
  44. using _STLP_VENDOR_CSTD::strftime;
  45. using _STLP_VENDOR_CSTD::time;
  46. #  endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
  47. _STLP_END_NAMESPACE
  48. #endif /* _STLP_IMPORT_VENDOR_CSTD */
  49.  
  50. # if (_STLP_OUTERMOST_HEADER_ID == 0x118)
  51. #  include <stl/_epilog.h>
  52. #  undef _STLP_OUTERMOST_HEADER_ID
  53. # endif
  54.  
  55. #endif /* _STLP_CTIME */
  56. // Local Variables:
  57. // mode:C++
  58. // End:
  59.