#if POCO_HAVE_IPv6 => #if defined(POCO_HAVE_IPv6)

This commit is contained in:
Aleksandar Fabijanic
2009-04-04 15:59:52 +00:00
parent 8fe9757195
commit 0b6fd120c5
3 changed files with 3 additions and 3 deletions

View File

@@ -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