mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
(svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10) Note: With this commit, building and running on Solaris 10 works, thus we officially support this OS now :)
This commit is contained in:
@@ -491,7 +491,7 @@ static void NetworkFindIPs(void)
|
||||
}
|
||||
|
||||
p += sizeof(struct ifreq);
|
||||
#ifdef AF_LINK
|
||||
#if defined(AF_LINK) && !defined(SUNOS)
|
||||
p += req->ifr_addr.sa_len - sizeof(struct sockaddr);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user