forked from mirror/OpenTTD
(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user