diff options
Diffstat (limited to 'ACE/tests/Conn_Test.cpp')
-rw-r--r-- | ACE/tests/Conn_Test.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ACE/tests/Conn_Test.cpp b/ACE/tests/Conn_Test.cpp index c68cbcb3ee5..a213786a7b7 100644 --- a/ACE/tests/Conn_Test.cpp +++ b/ACE/tests/Conn_Test.cpp @@ -76,14 +76,8 @@ static const char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz"; # endif /* ACE_HAS_THREAD_SAFE_ACCEPT */ #endif /* ACE_LACKS_FORK */ -#if defined (ACE_HAS_TEMPLATE_TYPEDEFS) -#define LOCK_SOCK_ACCEPTOR ACE_LOCK_SOCK_Acceptor<ACCEPTOR_LOCKING> -#else -#define LOCK_SOCK_ACCEPTOR ACE_LOCK_SOCK_Acceptor<ACCEPTOR_LOCKING>, ACE_INET_Addr -#endif /* ACE_HAS_TEMPLATE_TYPEDEFS */ - typedef ACE_Oneshot_Acceptor<Svc_Handler, - LOCK_SOCK_ACCEPTOR> + ACE_LOCK_SOCK_Acceptor<ACCEPTOR_LOCKING>> ACCEPTOR; typedef ACE_Connector<Svc_Handler, ACE_SOCK_CONNECTOR> |