mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
#if POCO_HAVE_IPv6 => #if defined(POCO_HAVE_IPv6)
This commit is contained in:
@@ -55,7 +55,7 @@ RawSocketImpl::RawSocketImpl(IPAddress::Family family, int proto)
|
||||
{
|
||||
if (family == IPAddress::IPv4)
|
||||
init2(AF_INET, proto);
|
||||
#if POCO_HAVE_IPv6
|
||||
#if defined(POCO_HAVE_IPv6)
|
||||
else if (family == IPAddress::IPv6)
|
||||
init2(AF_INET6, proto);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user