Fix compilation on clang-cl once and for all
- only pass -W things to c/cxx - fix max/min macros, thanks microsoft Signed-off-by: crueter <crueter@crueter.xyz>
This commit is contained in:
parent
f18c354fb6
commit
58b4ace06e
245 changed files with 624 additions and 604 deletions
|
@ -185,7 +185,7 @@ struct System::Impl {
|
|||
|
||||
Service::PSC::Time::LocationName name{};
|
||||
auto new_name = Settings::GetTimeZoneString(Settings::values.time_zone_index.GetValue());
|
||||
std::memcpy(name.data(), new_name.data(), std::min(name.size(), new_name.size()));
|
||||
std::memcpy(name.data(), new_name.data(), (std::min)(name.size(), new_name.size()));
|
||||
|
||||
timezone_service->SetDeviceLocationName(name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue