fix the linux condition

This commit is contained in:
otavepto 2024-06-08 02:19:34 +03:00
parent f2e9062242
commit 627e9df708

View File

@ -420,7 +420,7 @@ std::string common_helpers::get_utc_time()
std::tm utc_time{};
bool is_ok{};
#if defined(__GNUC__) || defined(POSIX)
#if defined(__linux__) || defined(linux)
is_ok = !!gmtime_s(&time, &utc_time);
#else
is_ok = !gmtime_s(&utc_time, &time);