mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-07-31 20:55:31 +02:00
fix the linux condition
This commit is contained in:
parent
f2e9062242
commit
627e9df708
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue