diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-20 09:02:38 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-20 09:02:38 +0000 |
commit | 9471d4c9921a4387c44bcd99b23ad72a0aa51b1f (patch) | |
tree | 149af0bd72a8d602a27435dd5ee136c6ffd31e19 /tests/UPIPE_SAP_Test.cpp | |
parent | 42f80c15f3dce681c70ece61e9de2c7e5114d8fc (diff) | |
download | ATCD-9471d4c9921a4387c44bcd99b23ad72a0aa51b1f.tar.gz |
!!
Diffstat (limited to 'tests/UPIPE_SAP_Test.cpp')
-rw-r--r-- | tests/UPIPE_SAP_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/UPIPE_SAP_Test.cpp b/tests/UPIPE_SAP_Test.cpp index 72bbc80871c..b96a527be50 100644 --- a/tests/UPIPE_SAP_Test.cpp +++ b/tests/UPIPE_SAP_Test.cpp @@ -1,6 +1,6 @@ -// ============================================================================ // $Id$ +// ============================================================================ // // = LIBRARY // tests @@ -151,7 +151,7 @@ main (int, char *argv[]) { ACE_START_TEST ("UPIPE_SAP_Test.cpp"); -#if defined (ACE_HAS_THREADS) +#if defined (ACE_HAS_THREADS) && (defined (ACE_HAS_STREAM_PIPES) || defined (ACE_WIN32)) // Spawn a peer2 thread. if (ACE_Service_Config::thr_mgr ()->spawn (ACE_THR_FUNC (peer2), (void *) 0, @@ -161,7 +161,7 @@ main (int, char *argv[]) // Wait for peer2 and peer1 threads to exit. ACE_Service_Config::thr_mgr ()->wait (); #else - ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n")); + ACE_ERROR ((LM_ERROR, "threads and/or UPIPE not supported on this platform\n")); #endif /* ACE_HAS_THREADS */ ACE_END_TEST; return 0; |