-
Martin Hurton authored
The problem is that even though the AI_V4MAPPED flag is defined on FreeBSD, the getaddrinfo function does not support it and returns EAI_BADFLAGS. The patch also sets the flag on Windows if it is defined there. This is true for Windows Vista and later. Fixes issue #331.
c2e9997a