From 9e80c759493bc20b02a15cb0a1fb1f0deff93872 Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 5 May 1997 13:39:17 +0000 Subject: fixed template specializations --- netsvcs/lib/Server_Logging_Handler.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'netsvcs') diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp index 8a205221dec..a565c3ff616 100644 --- a/netsvcs/lib/Server_Logging_Handler.cpp +++ b/netsvcs/lib/Server_Logging_Handler.cpp @@ -345,10 +345,19 @@ template class ACE_Scheduling_Strategy; template class ACE_Server_Logging_Handler; template class ACE_Strategy_Acceptor, LOGGING_PEER_ACCEPTOR>; template class ACE_Strategy_Acceptor; -template class ACE_Svc_Handler; + #if defined (ACE_HAS_THREADS) -template class ACE_Svc_Handler; -template class ACE_Server_Logging_Handler, ACE_MT_SYNCH>; + template class ACE_Svc_Handler; + template class ACE_Svc_Handler; + template class ACE_Server_Logging_Handler, ACE_MT_SYNCH>; +#else + #if defined (ACE_HAS_TLI) + template class ACE_Svc_Handler; + // else if ! ACE_HAS_TLI, then LOGGING_PEER_STREAM is ACE_SOCK_STREAM, + // and without threads the specialization would be + // template class ACE_Svc_Handler; + // That specialization is in TS_Server_Handler.cpp, so we don't need it here. + #endif /* ACE_HAS_TLI */ #endif /* ACE_HAS_THREADS */ #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ -- cgit v1.2.1