summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLogs/ChangeLog-02a7
-rw-r--r--ChangeLogs/ChangeLog-03a7
-rw-r--r--tests/Proactor_Test.cpp4
4 files changed, 23 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 255de91c006..c60d07ef14c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri May 3 06:57:13 2002 Chad Elliott <elliott_c@ociweb.com>
+
+ * tests/Proactor_Test.cpp:
+
+ Add a conditional to avoid building this test if threads are not
+ enabled.
+
Fri May 3 06:47:23 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Dev_Poll_Reactor_Test.cpp:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 255de91c006..c60d07ef14c 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,10 @@
+Fri May 3 06:57:13 2002 Chad Elliott <elliott_c@ociweb.com>
+
+ * tests/Proactor_Test.cpp:
+
+ Add a conditional to avoid building this test if threads are not
+ enabled.
+
Fri May 3 06:47:23 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Dev_Poll_Reactor_Test.cpp:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 255de91c006..c60d07ef14c 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,10 @@
+Fri May 3 06:57:13 2002 Chad Elliott <elliott_c@ociweb.com>
+
+ * tests/Proactor_Test.cpp:
+
+ Add a conditional to avoid building this test if threads are not
+ enabled.
+
Fri May 3 06:47:23 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Dev_Poll_Reactor_Test.cpp:
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index 5b9edd50f87..cc5bff8fb2b 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -20,7 +20,7 @@ ACE_RCSID (tests,
Proactor_Test,
"$Id$")
-#if ((defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || (defined (ACE_HAS_AIO_CALLS)))
+#if defined (ACE_HAS_THREADS) && ((defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || (defined (ACE_HAS_AIO_CALLS)))
// This only works on Win32 platforms and on Unix platforms
// supporting POSIX aio calls.
@@ -1629,7 +1629,7 @@ main (int, ACE_TCHAR *[])
ACE_START_TEST (ACE_TEXT ("Proactor_Test"));
ACE_DEBUG ((LM_INFO,
- ACE_TEXT ("Asynchronous IO is unsupported.\n")
+ ACE_TEXT ("Threads or Asynchronous IO is unsupported.\n")
ACE_TEXT ("Proactor_Test will not be run.")));
ACE_END_TEST;