summaryrefslogtreecommitdiff
path: root/examples/C++NPv2/TP_Logging_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C++NPv2/TP_Logging_Server.cpp')
-rw-r--r--examples/C++NPv2/TP_Logging_Server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/C++NPv2/TP_Logging_Server.cpp b/examples/C++NPv2/TP_Logging_Server.cpp
index 99ca486d740..251179032a9 100644
--- a/examples/C++NPv2/TP_Logging_Server.cpp
+++ b/examples/C++NPv2/TP_Logging_Server.cpp
@@ -66,4 +66,9 @@ ACE_FACTORY_DEFINE (TPLS, TP_Logging_Server)
template class Reactor_Logging_Server<TP_Logging_Acceptor>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate Reactor_Logging_Server<TP_Logging_Acceptor>
+#elif defined (__GNUC__) && defined (_AIX)
+template ACE_Singleton<TP_Logging_Task, ACE_Null_Mutex> *
+ ACE_Singleton<TP_Logging_Task, ACE_Null_Mutex>::singleton_;
+template ACE_Unmanaged_Singleton<TP_Logging_Task, ACE_Null_Mutex> *
+ ACE_Unmanaged_Singleton<TP_Logging_Task, ACE_Null_Mutex>::singleton_;
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */