summaryrefslogtreecommitdiff
path: root/ACE/ace/INET_Addr.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-09 09:35:14 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-09 09:35:14 +0000
commitc3efbc7f642bfc5bbbc5dfa3f936af67bfc470af (patch)
tree6d9f4e402723ba3e080b549079a78db541816f81 /ACE/ace/INET_Addr.inl
parent6dff767d910eda93c9b1e3f184019f94cb30efd6 (diff)
downloadATCD-c3efbc7f642bfc5bbbc5dfa3f936af67bfc470af.tar.gz
Thu Sep 9 09:29:30 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/CDR_Base.h: * ace/CDR_Base.cpp: * ace/DEV.h: * ace/FILE.h: * ace/Global_Macros.h: * ace/INET_Addr.inl: * ace/Malloc_T.h: * ace/Malloc_T.inl: * ace/Malloc_T.cpp: * ace/SOCK_Dgram_Bcast.cpp: * ace/SSL/SSL_SOCK.h: * ace/Shared_Memory_Pool.cpp: * ace/Sock_Connect.cpp: * ace/config-aix-5.x.h: * ace/config-doxygen.h: * ace/config-g++-common.h: * ace/config-hpux-11.00.h: * ace/config-icc-common.h: * ace/config-integritySCA.h: * ace/config-linux-common.h: * ace/config-macros.h: * ace/config-mvs.h: * ace/config-openvms.h: * ace/config-suncc-common.h: * ace/config-sunos5.5.h: * ace/config-sunos5.6.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem-nsk-mips-v3.h: * ace/config-win32-borland.h: * ace/config-win32-dmc.h: * ace/config-win32-ghs.h: * ace/config-win32-msvc-10.h: * ace/config-win32-msvc-7.h: * ace/config-win32-msvc-8.h: * ace/config-win32-msvc-9.h: * examples/IOStream/server/iostream_server.h: * examples/IPC_SAP/SOCK_SAP/C-inserver.cpp: * examples/IPC_SAP/SSL_SAP/SSL-server-fancy.cpp: * examples/Reactor/Misc/test_event_handler_t.cpp: * tests/Basic_Types_Test.cpp: * tests/Conn_Test.cpp: * tests/Message_Queue_Test.cpp: * tests/SSL/Thread_Pool_Reactor_SSL_Test.h: * tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp: Cleanup, all compilers support templated typedefs * ace/config-cray.h: * ace/config-cxx-common.h: Removed these files, obsolete
Diffstat (limited to 'ACE/ace/INET_Addr.inl')
-rw-r--r--ACE/ace/INET_Addr.inl7
1 files changed, 0 insertions, 7 deletions
diff --git a/ACE/ace/INET_Addr.inl b/ACE/ace/INET_Addr.inl
index ab98d632f4e..ff7d43e8691 100644
--- a/ACE/ace/INET_Addr.inl
+++ b/ACE/ace/INET_Addr.inl
@@ -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 */
}