mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 20:32:29 +00:00
patch for compilation problem under Irix
This commit is contained in:
parent
628533940d
commit
077d335584
@ -114,8 +114,8 @@ void EtherInit(void)
|
||||
}
|
||||
|
||||
// Retrieve local IP address (or at least one of them)
|
||||
socklen_t sa_len = sizeof(sa);
|
||||
getsockname(udp_socket, (struct sockaddr *)&sa, &sa_len);
|
||||
socklen_t sa_length = sizeof(sa);
|
||||
getsockname(udp_socket, (struct sockaddr *)&sa, &sa_length);
|
||||
uint32 udp_ip = sa.sin_addr.s_addr;
|
||||
if (udp_ip == INADDR_ANY || udp_ip == INADDR_LOOPBACK) {
|
||||
char name[256];
|
||||
|
Loading…
Reference in New Issue
Block a user