zeromq/libzmq — pull request #293 by hurtonm (2012-03-25 22:17:20+00:00)
Title: Don't set the AI_V4MAPPED flag on FreeBSD

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.