acl/app/jaws/global/sys_patch.c
2014-11-19 00:25:21 +08:00

18 lines
293 B
C

#include "lib_acl.h"
#include <string.h>
#include "sys_patch.h"
#ifdef ACL_MS_WINDOWS
struct tm *localtime_r(const time_t *timep, struct tm *result)
{
struct tm *tmp;
tmp = localtime(timep);
if (result)
memcpy(result, tmp, sizeof(struct tm));
return (tmp);
}
#endif