mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
fix the linux condition
This commit is contained in:
parent
f2e9062242
commit
627e9df708
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user