Commit efc0e942 authored by Luca Boccassi's avatar Luca Boccassi

Problem: build fails on GNU/Hurd as it does not support IPV6_TCLASS

Solution: check if IPV6_TCLASS is defined so that when Hurd adds
support it will just work. Also it will avoid tripping over this on
other similar legacy systems.
parent c38fde00
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment