diff options
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Name_Handler.cpp | 2 | ||||
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<ACE_Name_Handler, ACE_SOCK_ACCEPTOR>; #pragma instantiate ACE_Schedule_All_Reactive_Strategy<ACE_Name_Handler> #pragma instantiate ACE_Scheduling_Strategy<ACE_Name_Handler> #pragma instantiate ACE_Strategy_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR> -#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux)) +#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) template ACE_Singleton<Naming_Context, ACE_SYNCH_NULL_MUTEX> * ACE_Singleton<Naming_Context, ACE_SYNCH_NULL_MUTEX>::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<Synch_Receiver>; // 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<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, |