Home | History | Annotate | Download | only in stl
      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_INTERNAL_CTIME
     17 #define _STLP_INTERNAL_CTIME
     18 
     19 #if !defined (_STLP_WCE_EVC3)
     20 
     21 #  if defined (_STLP_USE_NEW_C_HEADERS)
     22 #    if defined (_STLP_HAS_INCLUDE_NEXT)
     23 #      include_next <ctime>
     24 #    else
     25 #      include _STLP_NATIVE_CPP_C_HEADER(ctime)
     26 #    endif
     27 #  else
     28 #    include <time.h>
     29 #  endif
     30 
     31 #  if defined (_STLP_IMPORT_VENDOR_CSTD)
     32 _STLP_BEGIN_NAMESPACE
     33 using _STLP_VENDOR_CSTD::size_t;
     34 using _STLP_VENDOR_CSTD::clock_t;
     35 using _STLP_VENDOR_CSTD::time_t;
     36 using _STLP_VENDOR_CSTD::tm;
     37 #    if !defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
     38 using _STLP_VENDOR_CSTD::clock;
     39 using _STLP_VENDOR_CSTD::asctime;
     40 using _STLP_VENDOR_CSTD::ctime;
     41 using _STLP_VENDOR_CSTD::gmtime;
     42 
     43 #      if !defined (_WIN32_WCE) || (_WIN32_WCE < 0x500) // CE5 stopped supplying this
     44 using _STLP_VENDOR_CSTD::difftime;
     45 #      endif
     46 using _STLP_VENDOR_CSTD::mktime;
     47 using _STLP_VENDOR_CSTD::localtime;
     48 using _STLP_VENDOR_CSTD::strftime;
     49 using _STLP_VENDOR_CSTD::time;
     50 #    endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
     51 _STLP_END_NAMESPACE
     52 #  endif /* _STLP_IMPORT_VENDOR_CSTD */
     53 
     54 #endif
     55 
     56 #endif /* _STLP_INTERNAL_CTIME */
     57