On Wed, Feb 8, 2017 at 11:59 AM, Erich E. Hoover erich.e.hoover@wine-staging.com wrote:
On Tue, Jan 31, 2017 at 1:36 AM, Bruno Jesus 00cpxxx@gmail.com wrote:
Tested on FreeBSD 10 and PC-BSD 9 where it gives me the unimplemented message (and Debian by changing some defines). ...
Is the purpose of this to provide a fallback implementation or to get FreeBSD 10 and PC-BSD 9 working? From a quick googling it looks like FreeBSD and PC-BSD both should support __res_getservers, though NetBSD seems to use res_getservers. Are you possibly missing a header (or are we failing to include a header)?
I do have /usr/include/resolv.h but none of the #defines required in iphlpapi_main.c are met. And I still think it can act as a fallback for overly restrictive systems on embedded platforms.
Thanks for the review, Bruno