VERY experimental Nintendo Switch 2 emulator
C++
network: fix mingw-w64 build The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
Sönke Holz8c9ce19145fd
diff --git a/src/core/network/network.cpp b/src/core/network/network.cppindex 4669130ee6..71583159a2 100644--- a/src/core/network/network.cpp+++ b/src/core/network/network.cpp@@ -368,10 +368,10 @@ 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()) {char ip_addr[16] = {};