From f6b014da2d270ab72e07c34a3e78b679417fe976 Mon Sep 17 00:00:00 2001 From: elliott_c Date: Fri, 3 May 2002 11:58:33 +0000 Subject: ChangeLogTag: Fri May 3 06:57:13 2002 Chad Elliott --- ChangeLog | 7 +++++++ ChangeLogs/ChangeLog-02a | 7 +++++++ ChangeLogs/ChangeLog-03a | 7 +++++++ tests/Proactor_Test.cpp | 4 ++-- 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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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; -- cgit v1.2.1