summaryrefslogtreecommitdiff
path: root/ACE/tests/Bug_2609_Regression_Test.cpp
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
committerAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
commitac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch)
tree0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/tests/Bug_2609_Regression_Test.cpp
parent5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff)
downloadATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/tests/Bug_2609_Regression_Test.cpp')
-rw-r--r--ACE/tests/Bug_2609_Regression_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/Bug_2609_Regression_Test.cpp b/ACE/tests/Bug_2609_Regression_Test.cpp
index 925ec46e65e..8de22036215 100644
--- a/ACE/tests/Bug_2609_Regression_Test.cpp
+++ b/ACE/tests/Bug_2609_Regression_Test.cpp
@@ -17,7 +17,7 @@
#include "ace/SOCK_Connector.h"
#include "ace/Thread_Semaphore.h"
-#if defined (ACE_HAS_THREADS)
+#if defined (ACE_HAS_THREADS) && !defined ACE_LACKS_ACCEPT
# define TEST_TRACE(X) ACE_Trace ____ (ACE_TEXT (X), __LINE__, ACE_TEXT (__FILE__))
@@ -109,7 +109,7 @@ run_main (int, ACE_TCHAR *[])
int status = 0;
-#if defined (ACE_HAS_THREADS)
+#if defined (ACE_HAS_THREADS) && !defined ACE_LACKS_ACCEPT
My_Acceptor acceptor;
if (-1 == acceptor.open (ACE_sap_any_cast (const ACE_INET_Addr &)))
@@ -164,7 +164,7 @@ run_main (int, ACE_TCHAR *[])
task.wait ();
#else
ACE_ERROR ((LM_INFO,
- ACE_TEXT ("threads not supported on this platform\n")));
+ ACE_TEXT ("threads/accept not supported on this platform\n")));
#endif
ACE_END_TEST;