mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Merge pull request #2287 from bluca/hurd_ipv6_tos
Problem: build fails on GNU/Hurd as it does not support IPV6_TCLASS
This commit is contained in:
commit
ee98e7dca0
@ -173,8 +173,8 @@ void zmq::set_ip_type_of_service (fd_t s_, int iptos)
|
||||
errno_assert (rc == 0);
|
||||
#endif
|
||||
|
||||
// Windows does not support IPV6_TCLASS
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
// Windows and Hurd do not support IPV6_TCLASS
|
||||
#if !defined (ZMQ_HAVE_WINDOWS) && defined (IPV6_TCLASS)
|
||||
rc = setsockopt(
|
||||
s_,
|
||||
IPPROTO_IPV6,
|
||||
|
Loading…
Reference in New Issue
Block a user