mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
gcc fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user