summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp')
-rw-r--r--TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp
index 18da5f9a4c2..0c60f3ddd73 100644
--- a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp
+++ b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp
@@ -291,4 +291,8 @@ template class ACE_Singleton<DT_Test, TAO_SYNCH_MUTEX>;
#pragma instantiate ACE_Singleton<DT_Test, TAO_SYNCH_MUTEX>
+#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION)
+
+template ACE_Singleton<DT_Test, ACE_Thread_Mutex> *ACE_Singleton<DT_Test, ACE_Thread_Mutex>::singleton_;
+
#endif /*ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */