summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 4a77329ed27..69c219e32a1 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -213,6 +213,12 @@ typedef int key_t;
#define ACE_PEER_STREAM _ACE_PEER_STREAM
#define ACE_PEER_STREAM_ADDR _ACE_PEER_STREAM::PEER_ADDR
+// Handle ACE_Acceptor
+#define ACE_PEER_ACCEPTOR_1 class _ACE_PEER_ACCEPTOR
+#define ACE_PEER_ACCEPTOR_2 _ACE_PEER_ACCEPTOR
+#define ACE_PEER_ACCEPTOR _ACE_PEER_ACCEPTOR
+#define ACE_PEER_ACCEPTOR_ADDR _ACE_PEER_ACCEPTOR::PEER_ADDR
+
// Handle ACE_SOCK_*
#define ACE_SOCK_ACCEPTOR ACE_SOCK_Acceptor
#define ACE_SOCK_CONNECTOR ACE_SOCK_Connector
@@ -260,6 +266,12 @@ typedef int key_t;
#define ACE_PEER_STREAM _ACE_PEER_STREAM
#define ACE_PEER_STREAM_ADDR _ACE_PEER_ADDR
+// Handle ACE_Acceptor
+#define ACE_PEER_ACCEPTOR_1 class _ACE_PEER_ACCEPTOR, class _ACE_PEER_ADDR
+#define ACE_PEER_ACCEPTOR_2 _ACE_PEER_ACCEPTOR, _ACE_PEER_ADDR
+#define ACE_PEER_ACCEPTOR _ACE_PEER_ACCEPTOR
+#define ACE_PEER_ACCEPTOR_ADDR _ACE_PEER_ADDR
+
// Handle ACE_SOCK_*
#define ACE_SOCK_ACCEPTOR ACE_SOCK_Acceptor, ACE_INET_Addr
#define ACE_SOCK_CONNECTOR ACE_SOCK_Connector, ACE_INET_Addr