mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-10 06:10:33 +01:00
implode windows
This commit is contained in:
parent
c8d514da84
commit
c0cfd02731
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue