summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.h b/tests/test_config.h
index 272e3e1a267..06efa70c390 100644
--- a/tests/test_config.h
+++ b/tests/test_config.h
@@ -314,7 +314,7 @@ typedef ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> ace_file_stream;
template class ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex>
-#elif defined (__GNUC__) && defined (_AIX)
+#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux))
template ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> *
ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex>::singleton_;
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */