mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
network: fix mingw-w64 build
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
This commit is contained in:
parent
b18e1d031f
commit
e660334a21
1 changed files with 4 additions and 4 deletions
|
@ -368,9 +368,9 @@ std::optional<IPv4Address> GetHostIPv4Address() {
|
|||
return {};
|
||||
}
|
||||
|
||||
const auto res = std::ranges::find_if(network_interfaces,
|
||||
[&selected_network_interface](const auto& interface) {
|
||||
return interface.name == selected_network_interface;
|
||||
const auto res =
|
||||
std::ranges::find_if(network_interfaces, [&selected_network_interface](const auto& iface) {
|
||||
return iface.name == selected_network_interface;
|
||||
});
|
||||
|
||||
if (res != network_interfaces.end()) {
|
||||
|
|
Loading…
Reference in a new issue