diff options
author | Patric Stout <truebrain@openttd.org> | 2019-03-04 19:46:11 +0100 |
---|---|---|
committer | Patric Stout <truebrain@openttd.org> | 2019-03-05 22:03:00 +0100 |
commit | f58db44ff22c07af984b2d513d24524594f660a7 (patch) | |
tree | 1909be4c44f287495413b96c3298c15cc1775081 /src/network/core/udp.cpp | |
parent | ad30d04b5eddccea1c547a050b1afc225d277af4 (diff) | |
download | openttd-f58db44ff22c07af984b2d513d24524594f660a7.tar.xz |
Remove: BeOS support (deprecated by Haiku)
In 10 years there is no commit to change how BeOS works, and we
have no active maintainer for it. It is unlikely it works in its
current state (but not impossible).
With the arrival of SDL2 (and removal of SDL), BeOS is no longer
support. SDL2 suggests to use Haiku instead of BeOS.
Diffstat (limited to 'src/network/core/udp.cpp')
-rw-r--r-- | src/network/core/udp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index d2dc15d42..1f34d15b0 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.cpp @@ -94,7 +94,6 @@ void NetworkUDPSocketHandler::SendPacket(Packet *p, NetworkAddress *recv, bool a p->PrepareToSend(); -#ifndef BEOS_NET_SERVER /* will work around this, some day; maybe. */ if (broadcast) { /* Enable broadcast */ unsigned long val = 1; @@ -102,7 +101,6 @@ void NetworkUDPSocketHandler::SendPacket(Packet *p, NetworkAddress *recv, bool a DEBUG(net, 1, "[udp] setting broadcast failed with: %i", GET_LAST_ERROR()); } } -#endif /* Send the buffer */ int res = sendto(s->second, (const char*)p->buffer, p->size, 0, (const struct sockaddr *)send.GetAddress(), send.GetAddressLength()); |