Why? AFAIK getifaddr was added to at least openSolaris Last year and you still can use the old Code as fallback<br><br>Gesendet mit meinem HTC<br><br>----- Reply message -----<br>Von: "Juan Lang" <juan.lang@gmail.com><br>An: "Michael Stefaniuc" <mstefani@redhat.com><br>Cc: "Wine Devel" <wine-devel@winehq.org><br>Betreff: RFC: depending on getifaddrs in iphlpapi<br>Datum: Do., Nov. 10, 2011 18:41<br><br><br>>> I'm thinking of replacing the current IPv4 enumeration code, which<br>>> uses ioctl/SIOCGIFCONF, with getifaddrs.  The reason I'm leaning<br>>> toward replacing, rather than adding side-by-side with the current<br>>> code, is that getifaddrs is commonly available:  it's available on all<br>>> recent versions of Linux, as well as on FreeBSD and MacOS.  There<br>> recent versions of Linux as of which year?<br><br>Good question.  When I was writing this code in 2003, the stable<br>version of Debian didn't support it.  I haven't seen a Linux system<br>that doesn't support it since then, but I've only checked<br>periodically.<br><br>>> might be some platform somewhere that's disenfranchised by this, but<br>>> I'm not sure it's worth the code complexity to maintain the current<br>>> code.<br>> What about Solaris/OpenSolaris? That's the only other major system where<br>> Wine can be made to run.<br><br>Ah.  Okay, that's an important objection.  I'll go with keeping the<br>current code, then.<br><br>Thanks,<br>--Juan<br><br><br>