diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-12-06 09:27:56 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-12-06 09:27:56 +0000 |
commit | 0790009e315d0df28a8b58f78ba427b0dc038f5e (patch) | |
tree | 3e9c85197b13a6e9ebd4de80e0b5e240c19b42d3 /ace/SOCK_Dgram_Mcast.cpp | |
parent | ee3aaf03fba8d09b36ff660a4d45c9a7c8647952 (diff) | |
download | ATCD-0790009e315d0df28a8b58f78ba427b0dc038f5e.tar.gz |
ChangeLogTag: Mon Dec 06 09:06:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/SOCK_Dgram_Mcast.cpp')
-rw-r--r-- | ace/SOCK_Dgram_Mcast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/SOCK_Dgram_Mcast.cpp b/ace/SOCK_Dgram_Mcast.cpp index f63bf302777..243ac51dd5c 100644 --- a/ace/SOCK_Dgram_Mcast.cpp +++ b/ace/SOCK_Dgram_Mcast.cpp @@ -961,7 +961,7 @@ ACE_SOCK_Dgram_Mcast::make_multicast_ifaddr (ip_mreq *ret_mreq, ip_mreq lmreq; // Scratch copy. if (net_if != 0) { -#if defined (ACE_WIN32) +#if defined (ACE_WIN32) || defined(__INTERIX) // This port number is not necessary, just convenient ACE_INET_Addr interface_addr; if (interface_addr.set (mcast_addr.get_port_number (), net_if) == -1) @@ -987,7 +987,7 @@ ACE_SOCK_Dgram_Mcast::make_multicast_ifaddr (ip_mreq *ret_mreq, socket_address = ACE_reinterpret_cast (sockaddr_in*, &if_address.ifr_addr); lmreq.imr_interface.s_addr = socket_address->sin_addr.s_addr; -#endif /* ACE_WIN32 */ +#endif /* ACE_WIN32 || __INTERIX */ } else lmreq.imr_interface.s_addr = INADDR_ANY; |