acl/app/jaws/global/sys_patch.c
zsxxsz cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00

18 lines
276 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