This commit is contained in:
gabime
2014-10-19 18:11:16 +03:00
parent ca1286e764
commit e76a365bf1
5 changed files with 6 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ inline std::tm gmtime(const std::time_t &time_tt)
gmtime_s(&tm, &time_tt);
#else
std::tm tm;
lgmtime_r(&time_tt, &tm);
gmtime_r(&time_tt, &tm);
#endif
return tm;
}