123
This commit is contained in:
58
STLPORT/stlport/ctime
Normal file
58
STLPORT/stlport/ctime
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright (c) 1999
|
||||
* Boris Fomitchev
|
||||
*
|
||||
* This material is provided "as is", with absolutely no warranty expressed
|
||||
* or implied. Any use is at your own risk.
|
||||
*
|
||||
* Permission to use or copy this software for any purpose is hereby granted
|
||||
* without fee, provided the above notices are retained on all copies.
|
||||
* Permission to modify the code and to distribute modified code is granted,
|
||||
* provided the above notices are retained, and a notice that the code was
|
||||
* modified is included with the above copyright notice.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _STLP_CTIME
|
||||
# define _STLP_CTIME
|
||||
|
||||
# ifndef _STLP_OUTERMOST_HEADER_ID
|
||||
# define _STLP_OUTERMOST_HEADER_ID 0x118
|
||||
# include <stl/_prolog.h>
|
||||
# endif
|
||||
|
||||
# if defined (_STLP_USE_NEW_C_HEADERS)
|
||||
# include _STLP_NATIVE_CPP_C_HEADER(ctime)
|
||||
# else
|
||||
# include _STLP_NATIVE_C_HEADER(time.h)
|
||||
# endif
|
||||
|
||||
# ifdef _STLP_IMPORT_VENDOR_CSTD
|
||||
_STLP_BEGIN_NAMESPACE
|
||||
using _STLP_VENDOR_CSTD::size_t;
|
||||
using _STLP_VENDOR_CSTD::clock_t;
|
||||
using _STLP_VENDOR_CSTD::time_t;
|
||||
using _STLP_VENDOR_CSTD::tm;
|
||||
# ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS
|
||||
using _STLP_VENDOR_CSTD::clock;
|
||||
using _STLP_VENDOR_CSTD::asctime;
|
||||
using _STLP_VENDOR_CSTD::ctime;
|
||||
using _STLP_VENDOR_CSTD::gmtime;
|
||||
using _STLP_VENDOR_CSTD::difftime;
|
||||
using _STLP_VENDOR_CSTD::mktime;
|
||||
using _STLP_VENDOR_CSTD::localtime;
|
||||
using _STLP_VENDOR_CSTD::strftime;
|
||||
using _STLP_VENDOR_CSTD::time;
|
||||
# endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
|
||||
_STLP_END_NAMESPACE
|
||||
#endif /* _STLP_IMPORT_VENDOR_CSTD */
|
||||
|
||||
# if (_STLP_OUTERMOST_HEADER_ID == 0x118)
|
||||
# include <stl/_epilog.h>
|
||||
# undef _STLP_OUTERMOST_HEADER_ID
|
||||
# endif
|
||||
|
||||
#endif /* _STLP_CTIME */
|
||||
// Local Variables:
|
||||
// mode:C++
|
||||
// End:
|
||||
Reference in New Issue
Block a user