implode windows

This commit is contained in:
lizzie
2026-08-15 15:40:57 +00:00
parent 2c8c10ab9e
commit 82b79fe2e2
2 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -20,7 +20,9 @@
#include "core/hle/service/sockets/sockets_translate.h"
#include "core/internal_network/network.h"
#include "core/internal_network/socket_proxy.h"
#if defined(__unix__) && !defined(__APPLE__)
#include "core/internal_network/socket_icmp.h"
#endif
#include "core/internal_network/sockets.h"
#include "network/network.h"
#include <common/settings.h>
@@ -556,7 +558,7 @@ std::pair<s32, Network::Errno> BSD::SocketImpl(Network::Domain domain, Network::
auto room_member = Network::GetRoomMember().lock();
if (0) {
// ...only unix has this issue it seems, ICMP works otherwise fine on win
#ifdef __unix__
#if defined(__unix__) && !defined(__APPLE__)
} else if (protocol == Network::Protocol::ICMP || protocol == Network::Protocol::ICMPV6) {
descriptor.socket = std::make_shared<Network::IcmpSocket>();
#endif