blob: 2a2da2d601cf1bb3226a80cb3cdd5a19939af6c0 [file] [log] [blame]
#define __CRT__NO_INLINE
#include <time.h>
/* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro,
during CRT compilation is plainly broken. Need an appropriate
implementation to provide users the ability of compiling the
CRT only with 32-bit time_t behavior. */
#ifndef _USE_32BIT_TIME_T
struct tm *__cdecl localtime(const time_t *_Time)
{
return _localtime64(_Time);
}
#else
struct tm *__cdecl localtime(const time_t *_Time)
{
return _localtime32(_Time);
}
#endif