Commit fb032e39 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] worked around a build error on the Solaris buildbox (with g++).

in that platform BOOST_STATIC_ASSERT() complained about class static constants
as "non constant".
parent 6bc6c57d
......@@ -100,7 +100,7 @@ private:
// Confirm our assumption of relative sizes - this allows us to assume that
// an array sized for an IPv6 address can hold an IPv4 address.
BOOST_STATIC_ASSERT(IPV6_SIZE > IPV4_SIZE);
BOOST_STATIC_ASSERT(sizeof(struct in6_addr) > sizeof(struct in_addr));
public:
/// \brief String Constructor
......
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