From daf1f0c5471e618ea85f9d80c291dd73fc0afb21 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 14 Jun 2004 11:44:36 +0000 Subject: ChangeLogTag: Mon Jun 14 11:32:12 2004 UTC 2004 Johnny Willemsen --- netsvcs/lib/Name_Handler.cpp | 2 +- netsvcs/lib/Server_Logging_Handler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'netsvcs') diff --git a/netsvcs/lib/Name_Handler.cpp b/netsvcs/lib/Name_Handler.cpp index 25f8bf1dd2e..63bb145c537 100644 --- a/netsvcs/lib/Name_Handler.cpp +++ b/netsvcs/lib/Name_Handler.cpp @@ -30,7 +30,7 @@ template class ACE_Strategy_Acceptor; #pragma instantiate ACE_Schedule_All_Reactive_Strategy #pragma instantiate ACE_Scheduling_Strategy #pragma instantiate ACE_Strategy_Acceptor -#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux)) +#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) template ACE_Singleton * ACE_Singleton::singleton_; #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp index 1b5766fa870..d8f22a0cbdb 100644 --- a/netsvcs/lib/Server_Logging_Handler.cpp +++ b/netsvcs/lib/Server_Logging_Handler.cpp @@ -236,7 +236,7 @@ template class ACE_Thr_Server_Logging_Handler; // That specialization is in TS_Server_Handler.cpp, so we don't need it // here. #endif /* ACE_HAS_TLI */ -#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux)) +#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) template ACE_Server_Logging_Handler_T