diff options
author | Steve Huston <shuston@riverace.com> | 2010-10-28 19:15:40 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2010-10-28 19:15:40 +0000 |
commit | 07e57827be957a73d5504f36991b02846f0d3769 (patch) | |
tree | 310ee5ee7a83242fcbfca4c0e97a9327161ffc8b | |
parent | 0fb141e86f5d092af04dd64a2b48ff1d6a95d485 (diff) | |
download | ATCD-07e57827be957a73d5504f36991b02846f0d3769.tar.gz |
Fix compile problem
-rw-r--r-- | tests/Connector_Test.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/Connector_Test.cpp b/tests/Connector_Test.cpp index ca318bae7d1..1b660aa7ffa 100644 --- a/tests/Connector_Test.cpp +++ b/tests/Connector_Test.cpp @@ -30,7 +30,8 @@ ACE_RCSID(tests, Connector_Test, "$Id$") -#if defined (ACE_HAS_THREADS) +#if defined (ACE_HAS_THREADS) && (defined (ACE_HAS_EVENT_POLL) || defined (ACE_HAS_DEV_POLL)) + // This test is really checking to see if the correct callbacks happen and // nothing bad happens. Results remembers what happens so it can be verified. @@ -211,7 +212,9 @@ int run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("Connector_Test")); - ACE_DEBUG ((LM_INFO, ACE_TEXT ("Connector_Test requires threads."))); + ACE_DEBUG ((LM_INFO, + ACE_TEXT ("Connector_Test requires threads and dev/[e]poll."))); ACE_END_TEST; return 0; -#endif /* ACE_HAS_THREADS */ +} +#endif /* ACE_HAS_THREADS && (ACE_HAS_EVENT_POLL || ACE_HAS_DEV_POLL) */ |