summaryrefslogtreecommitdiff
path: root/ACE/tests/Monotonic_Message_Queue_Test.cpp
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-11-11 14:27:25 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-11-11 14:27:25 +0000
commita3e65db0bce988d4fb1727142cc74daa08710410 (patch)
treee8c309b5dade52a8826ece46cc260bc29ab774d4 /ACE/tests/Monotonic_Message_Queue_Test.cpp
parent6e8e7e4dca876ab71ef63dc7fe70f20adfceb4d7 (diff)
downloadATCD-a3e65db0bce988d4fb1727142cc74daa08710410.tar.gz
ChangelogTag: Sun Nov 11 14:26:17 UTC 2012 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/tests/Monotonic_Message_Queue_Test.cpp')
-rw-r--r--ACE/tests/Monotonic_Message_Queue_Test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/tests/Monotonic_Message_Queue_Test.cpp b/ACE/tests/Monotonic_Message_Queue_Test.cpp
index e82afe9b2f5..641cb5a0244 100644
--- a/ACE/tests/Monotonic_Message_Queue_Test.cpp
+++ b/ACE/tests/Monotonic_Message_Queue_Test.cpp
@@ -35,7 +35,8 @@
#include "ace/OS_NS_unistd.h"
#if defined (ACE_WIN32) || \
- (!defined (ACE_LACKS_MONOTONIC_TIME) && \
+ (defined (ACE_HAS_CLOCK_GETTIME) && \
+ !defined (ACE_LACKS_MONOTONIC_TIME) && \
!defined (ACE_LACKS_CONDATTR) && \
(defined (_POSIX_MONOTONIC_CLOCK) || defined (ACE_HAS_CLOCK_GETTIME_MONOTONIC)) && \
defined (_POSIX_CLOCK_SELECTION) && !defined (ACE_LACKS_CONDATTR_SETCLOCK))