diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-22 22:06:04 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-22 22:06:04 +0000 |
commit | f1aecb4edc3d6054687f4173112ef816cd961b83 (patch) | |
tree | 147fc294556751cc24df552768b29a173a22c924 /tests/TSS_Test.cpp | |
parent | dcc2719b5ef47d69ff58c830c25a7d9e1abcc299 (diff) | |
download | ATCD-f1aecb4edc3d6054687f4173112ef816cd961b83.tar.gz |
foo
Diffstat (limited to 'tests/TSS_Test.cpp')
-rw-r--r-- | tests/TSS_Test.cpp | 9 |
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; } |