summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-07-13 07:56:07 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-07-13 07:56:07 +0000
commit5589d2337de5d48e01173cc286b251a9f6bbad5c (patch)
tree110a4e07d7d70c31b3d698d1859be062614d2e79 /tests
parent861ba7f9eda5874c7367f3834b91a7423be37f67 (diff)
downloadATCD-5589d2337de5d48e01173cc286b251a9f6bbad5c.tar.gz
ChangeLogTag: Wed Jul 13 07:26:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/Process_Semaphore_Test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Process_Semaphore_Test.cpp b/tests/Process_Semaphore_Test.cpp
index fad09a89f71..6ba87a28b78 100644
--- a/tests/Process_Semaphore_Test.cpp
+++ b/tests/Process_Semaphore_Test.cpp
@@ -109,7 +109,8 @@ acquire_release (void)
#if defined (ACE_WIN32) || \
defined (ACE_USES_FIFO_SEM) || \
- (defined (ACE_HAS_POSIX_SEM) && !defined (ACE_LACKS_NAMED_POSIX_SEM))
+ (defined (ACE_HAS_POSIX_SEM) && defined (ACE_HAS_POSIX_SEM_TIMEOUT) &&
+ !defined (ACE_LACKS_NAMED_POSIX_SEM))
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P) Testing timeouts\n")));
@@ -142,7 +143,8 @@ acquire_release (void)
#if defined (ACE_WIN32) || \
defined (ACE_USES_FIFO_SEM) || \
- (defined (ACE_HAS_POSIX_SEM) && !defined (ACE_LACKS_NAMED_POSIX_SEM))
+ (defined (ACE_HAS_POSIX_SEM) && defined (ACE_HAS_POSIX_SEM_TIMEOUT) &&
+ !defined (ACE_LACKS_NAMED_POSIX_SEM))
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P) Testing timeouts\n")));