diff options
Diffstat (limited to 'tests/XtAthenaReactor_Test.cpp')
-rw-r--r-- | tests/XtAthenaReactor_Test.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/XtAthenaReactor_Test.cpp b/tests/XtAthenaReactor_Test.cpp index d5abb90c4e0..68f6bae83c9 100644 --- a/tests/XtAthenaReactor_Test.cpp +++ b/tests/XtAthenaReactor_Test.cpp @@ -214,6 +214,15 @@ public: extern "C" void HCLXmInit (void); #endif /* HummingBird_X */ +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +template class ACE_Acceptor<Connection_Handler, ACE_SOCK_ACCEPTOR>; +template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +#pragma instantiate ACE_Acceptor<Connection_Handler, ACE_SOCK_ACCEPTOR> +#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + + int run_main (int argc, ACE_TCHAR *argv[]) { |