summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-21 14:36:20 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-21 14:36:20 +0000
commit3d043f0e1aaa77f1b4b310c7078e31477bb39c17 (patch)
tree7560d3898725a5e96ac96e8adb525c4a1d150e68 /ace/OS.h
parent5d0b9d2c066876af7e398bcc0503fb8e4109c7e8 (diff)
downloadATCD-3d043f0e1aaa77f1b4b310c7078e31477bb39c17.tar.gz
added ACE_LACKS_IP_ADD_MEMBERSHIP, for internal use only.
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/OS.h b/ace/OS.h
index ef8a81335bd..d8a356c3b8f 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -3737,6 +3737,7 @@ struct sigaction
# if !defined (IP_ADD_MEMBERSHIP)
# define IP_ADD_MEMBERSHIP 0
+# define ACE_LACKS_IP_ADD_MEMBERSHIP
# endif /* IP_ADD_MEMBERSHIP */
# if !defined (SIOCGIFBRDADDR)
@@ -4083,7 +4084,7 @@ struct flock
# endif /* ! VXWORKS */
# endif /* ACE_LACKS_FILELOCKS */
-# if !defined (ACE_HAS_IP_MULTICAST) && !defined (IP_ADD_MEMBERSHIP)
+# if !defined (ACE_HAS_IP_MULTICAST) && defined (ACE_LACKS_IP_ADD_MEMBERSHIP)
// Even if ACE_HAS_IP_MULTICAST is not defined, if IP_ADD_MEMBERSHIP
// is defined, assume that the ip_mreq struct is also defined
// (presumably in netinet/in.h).
@@ -4094,7 +4095,7 @@ struct flock
struct in_addr imr_interface;
// local IP address of interface
};
-# endif /* ! ACE_HAS_IP_MULTICAST && ! IP_ADD_MEMBERSHIP */
+# endif /* ! ACE_HAS_IP_MULTICAST && ACE_LACKS_IP_ADD_MEMBERSHIP */
# if !defined (ACE_HAS_STRBUF_T)
struct strbuf