summaryrefslogtreecommitdiff
path: root/tests/Process_Semaphore_Test.cpp
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
commitd3f56f86939c959d748fd546a59da7c17065d90a (patch)
tree110a4e07d7d70c31b3d698d1859be062614d2e79 /tests/Process_Semaphore_Test.cpp
parent5075882bbd07fd7a9c79f8361c666617ac676666 (diff)
downloadATCD-d3f56f86939c959d748fd546a59da7c17065d90a.tar.gz
ChangeLogTag: Wed Jul 13 07:26:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'tests/Process_Semaphore_Test.cpp')
-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")));