src: define AI_V4MAPPED for OpenBSD

OpenBSD doesn't define AI_V4MAPPED by default. Defining it to 0
as done with other ports.

PR-URL: https://github.com/iojs/io.js/pull/427
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Aaron Bieber 2015-01-14 14:40:53 -07:00 committed by Ben Noordhuis
parent 753fcaa270
commit ca039b4616

View File

@ -24,6 +24,9 @@
# include <arpa/nameser.h>
#endif
#if defined(__OpenBSD__)
# define AI_V4MAPPED 0
#endif
namespace node {
namespace cares_wrap {