- TW-1492 compiling v2.4.0 using musl(libc) (thanks to V.Krishn).
This commit is contained in:
Paul Beckingham
2015-01-04 10:14:15 -05:00
parent 9bf7dfda4f
commit f32c4d1f73
3 changed files with 3 additions and 1 deletions

View File

@@ -702,7 +702,7 @@ void ISO8601d::resolve ()
t.tm_min = (seconds % 3600) / 60;
t.tm_sec = seconds % 60;
_value = utc ? timegm (&t) : timelocal (&t);
_value = utc ? timegm (&t) : mktime (&t);
}
////////////////////////////////////////////////////////////////////////////////