From f8e7d0888552dac2546b4434a65fff9feff24f79 Mon Sep 17 00:00:00 2001 From: celestar Date: Mon, 5 Mar 2007 09:35:45 +0000 Subject: (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 :) --- src/network/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/network.cpp b/src/network/network.cpp index c523623ce..7c7aa9a3a 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -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 } -- cgit v1.2.3-70-g09d2