Logo Search packages:      
Sourcecode: mingw-w64 version File versions

localtime.c

#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


Generated by  Doxygen 1.6.0   Back to index