Commit aa55b21d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Of course localetime_r has to have another name on Windows.

(And go fix your libc if this does not work for you.)
parent 83a3429c
...@@ -233,6 +233,14 @@ static int Seek (access_t *access, int64_t offset) ...@@ -233,6 +233,14 @@ static int Seek (access_t *access, int64_t offset)
} }
#ifdef WIN32
static inline struct tm *localtime_r (const time_t *now, struct tm *res)
{
return _localtime_s (res, now) ? NULL : res;
}
#endif
static void Trigger (access_t *access) static void Trigger (access_t *access)
{ {
access_sys_t *p_sys = access->p_sys; access_sys_t *p_sys = access->p_sys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment