summaryrefslogtreecommitdiff
path: root/tests/Tokens_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tokens_Test.cpp')
-rw-r--r--tests/Tokens_Test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Tokens_Test.cpp b/tests/Tokens_Test.cpp
index 05c511f0a7d..30826825859 100644
--- a/tests/Tokens_Test.cpp
+++ b/tests/Tokens_Test.cpp
@@ -313,3 +313,14 @@ main (int, ACE_TCHAR *[])
ACE_END_TEST;
return 0;
}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+#if defined (__BORLANDC__)
+// Borland C++ doesn't link with these instantiations in the ACE library.
+template class ACE_Map_Manager<ACE_Token_Name,ACE_Token_Proxy*,ACE_Null_Mutex>;
+#endif /* defined (__BORLANDC__) */
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#if defined (__BORLANDC__)
+#pragma instantiate ACE_Map_Manager<ACE_Token_Name,ACE_Token_Proxy*,ACE_Null_Mutex>
+#endif /* defined (__BORLANDC__) */
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */