diff options
author | tron <tron@openttd.org> | 2005-02-08 15:42:28 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-08 15:42:28 +0000 |
commit | 1afad51ee2766b309b49454ce04308ef3abcd50b (patch) | |
tree | 6027ee379a895993bb6c5ea26af6c5d3a585fee3 /network_udp.c | |
parent | 0525b086123f8e9c6d6cc5f6cde4f6eb2151d0e1 (diff) | |
download | openttd-1afad51ee2766b309b49454ce04308ef3abcd50b.tar.xz |
(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic
Diffstat (limited to 'network_udp.c')
-rw-r--r-- | network_udp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/network_udp.c b/network_udp.c index 6d8d051b8..885ee1045 100644 --- a/network_udp.c +++ b/network_udp.c @@ -402,11 +402,7 @@ void NetworkUDPClose(void) void NetworkUDPReceive(SOCKET udp) { struct sockaddr_in client_addr; -#ifndef __MORPHOS__ - int client_len; -#else - LONG client_len; // for some reason we need a 'LONG' under MorphOS -#endif + socklen_t client_len; int nbytes; static Packet *p = NULL; int packet_len; |