mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-07 21:05:34 +08:00
Merge pull request #2631 from ecoughlan/skip_invalid_setsockopt
Don't try to set IPV6_V6ONLY on OpenBSD
This commit is contained in:
commit
a537ace084
@ -108,7 +108,7 @@ void zmq::enable_ipv4_mapping (fd_t s_)
|
||||
{
|
||||
(void) s_;
|
||||
|
||||
#ifdef IPV6_V6ONLY
|
||||
#if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD
|
||||
#ifdef ZMQ_HAVE_WINDOWS
|
||||
DWORD flag = 0;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user