1
#include <log4cpp/Portability.hh>
2
#include "Localtime.hh"
9
#if defined(_MSC_VER) && defined(LOG4CPP_HAVE_LOCALTIME_R)
10
void localtime(const ::time_t* time, ::tm* t)
16
#if !defined(_MSC_VER) && defined(LOG4CPP_HAVE_LOCALTIME_R)
17
void localtime(const ::time_t* time, ::tm* t)
23
#if !defined(LOG4CPP_HAVE_LOCALTIME_R)
24
void localtime(const ::time_t* time, ::tm* t)
26
::tm* tmp = ::localtime(time);
27
memcpy(t, tmp, sizeof(::tm));