/* EWL
 * Copyright © 1995-2009 Freescale Corporation.  All rights reserved.
 *
 * $Date: 2009/05/29 14:36:30 $
 * $Revision: 1.2 $
 */

#ifndef _EWL_CPP_STD_TIME_H
#define _EWL_CPP_STD_TIME_H

#ifdef __cplusplus

namespace std {

	using ::size_t;

#if _EWL_CLOCK_T_AVAILABLE
	using ::clock_t;
#endif /* _EWL_CLOCK_T_AVAILABLE */

#if _EWL_TIME_T_AVAILABLE
	using ::time_t;
#endif /* _EWL_TIME_T_AVAILABLE */

#if _EWL_FLOATING_POINT
	using ::difftime;
#endif /* _EWL_FLOATING_POINT */

#if _EWL_OS_TIME_SUPPORT
	using ::tm;
	using ::clock;
	using ::gmtime;
	using ::time;
	using ::asctime;
	using ::ctime;
	using ::localtime;
	using ::mktime;
	using ::strftime;

#if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__
	using ::errno_t;
	using ::rsize_t;
	using ::asctime_s;
	using ::ctime_s;
	using ::gmtime_s;
	using ::localtime_s;
#endif /* __STDC_WANT_LIB_EXT1__ */	
	
#endif /* _EWL_OS_TIME_SUPPORT */

} /* namespace std */

#endif /* __cplusplus */

#endif /* _EWL_CPP_STD_TIME_H */
