summaryrefslogtreecommitdiff
path: root/tests/TSS_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-22 22:06:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-22 22:06:04 +0000
commitf1aecb4edc3d6054687f4173112ef816cd961b83 (patch)
tree147fc294556751cc24df552768b29a173a22c924 /tests/TSS_Test.cpp
parentdcc2719b5ef47d69ff58c830c25a7d9e1abcc299 (diff)
downloadATCD-f1aecb4edc3d6054687f4173112ef816cd961b83.tar.gz
foo
Diffstat (limited to 'tests/TSS_Test.cpp')
-rw-r--r--tests/TSS_Test.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/TSS_Test.cpp b/tests/TSS_Test.cpp
index 724f1c322b0..b13fc43c182 100644
--- a/tests/TSS_Test.cpp
+++ b/tests/TSS_Test.cpp
@@ -26,7 +26,6 @@
#include "test_config.h"
#if defined (ACE_HAS_THREADS)
-#if !defined (ACE_TEMPLATES_REQUIRE_PRAGMA) // AIX is evil
static const int ITERATIONS = 100;
@@ -157,7 +156,6 @@ handler (int signum)
template class ACE_TSS<Errno>;
#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */
-#endif /* !ACE_TEMPLATES_REQUIRE_PRAGMA */
#endif /* ACE_HAS_THREADS */
int
@@ -165,7 +163,7 @@ main (int, char *[])
{
ACE_START_TEST ("TSS_Test");
-#if defined (ACE_MT_SAFE)
+#if defined (ACE_HAS_THREADS)
ACE_Thread_Control tc (ACE_Service_Config::thr_mgr ());
// Register a signal handler.
@@ -178,13 +176,10 @@ main (int, char *[])
ACE_OS::perror ("ACE_Thread_Manager::spawn_n");
ACE_Service_Config::thr_mgr ()->wait ();
-#elif defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
- ACE_ERROR ((LM_ERROR,
- "This platform has an evil template instantiation mechanism...\n"));
#else
ACE_ERROR ((LM_ERROR,
"threads are not supported on this platform\n"));
-#endif /* defined (ACE_MT_SAFE) */
+#endif /* ACE_HAS_THREADS */
ACE_END_TEST;
return 0;
}