> The following patch to dlls/winsock/socket.c broke compilation on FreeBSD
> and probably all other non-Linux targets:
[ Snip ]
> Do you think it's possible to write that snippet in a more portable way?
[ Snip ]
> A cursory grep on FreeBSD 4.0 leads to ifaddr which does have a field
> called ifa_netmask:


Hi Gerald,

I was afraid something like this was going to happen!
Unfortunately I don't have access to other build environments
such as FreeBSD, Solaris, etc.  So I will ask Alexandre to please
retract my patch from CVS, and I will submit a patch later today that 
fences off my patch with an '#ifdef linux' (which I have seen done
in other places in the code) and if other people want to support other
platforms they can do so.  I greped in the /usr/include on my
Linux box, and I don't have any field called 'ifa_netmask',
so I am afraid what I am doing might be very platform specific.

Did anything in WsControl fail to build on your platform? I am afraid
so, because some of WsControl is similar to what I was doing in WSAIoctl.


-James

-- 
James Hatheway
Software Designer - Macadamian Technologies, Inc.
[EMAIL PROTECTED] ~ http://www.macadamian.com

   "Nothing is a problem once you debug the code."

Reply via email to