summaryrefslogtreecommitdiff
path: root/tests/Atomic_Op_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-04 03:22:57 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-04 03:22:57 +0000
commit39d11f9ca536008c78b3659ebda00ad4145603a8 (patch)
tree94f89a4f73a78ce8cf8e7feee52f08be27438edd /tests/Atomic_Op_Test.cpp
parent51a97c1ab58791b7d62684a6a00d93283803ef85 (diff)
downloadATCD-39d11f9ca536008c78b3659ebda00ad4145603a8.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Atomic_Op_Test.cpp')
-rw-r--r--tests/Atomic_Op_Test.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/Atomic_Op_Test.cpp b/tests/Atomic_Op_Test.cpp
index 9379fc99ca9..a51e67de617 100644
--- a/tests/Atomic_Op_Test.cpp
+++ b/tests/Atomic_Op_Test.cpp
@@ -24,7 +24,7 @@
#include "tests/test_config.h"
int
-main ()
+main (void)
{
ACE_START_TEST ("Atomic_Op_Test");
@@ -49,3 +49,9 @@ main ()
ACE_END_TEST;
return 0;
}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Atomic_Op<ACE_Thread_Mutex, long>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, long>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */