Dep/ACE: Upgrade ACE -library to 5.8.3
--HG-- branch : trunk
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: INET_Addr.inl 88218 2009-12-17 12:32:14Z mcorino $
|
||||
// $Id: INET_Addr.inl 91685 2010-09-09 09:35:14Z johnnyw $
|
||||
|
||||
|
||||
#include "ace/OS_NS_string.h"
|
||||
@@ -71,14 +71,7 @@ ACE_INET_Addr::ip_addr_size (void) const
|
||||
else
|
||||
return static_cast<int> (sizeof this->inet_addr_.in6_.sin6_addr);
|
||||
#else
|
||||
// These _UNICOS changes were picked up from pre-IPv6 code in
|
||||
// get_host_name_i... the IPv6 section above may need something
|
||||
// similar, so keep an eye out for it.
|
||||
# if !defined(_UNICOS)
|
||||
return static_cast<int> (sizeof this->inet_addr_.in4_.sin_addr.s_addr);
|
||||
# else /* _UNICOS */
|
||||
return static_cast<int> (sizeof this->inet_addr_.in4_.sin_addr);
|
||||
# endif /* ! _UNICOS */
|
||||
#endif /* ACE_HAS_IPV6 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user