diff options
Diffstat (limited to 'ACE/tests/Monotonic_Message_Queue_Test.cpp')
-rw-r--r-- | ACE/tests/Monotonic_Message_Queue_Test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ACE/tests/Monotonic_Message_Queue_Test.cpp b/ACE/tests/Monotonic_Message_Queue_Test.cpp index 57e7841c053..641cb5a0244 100644 --- a/ACE/tests/Monotonic_Message_Queue_Test.cpp +++ b/ACE/tests/Monotonic_Message_Queue_Test.cpp @@ -35,8 +35,11 @@ #include "ace/OS_NS_unistd.h" #if defined (ACE_WIN32) || \ - (defined (_POSIX_MONOTONIC_CLOCK) && !defined (ACE_LACKS_MONOTONIC_TIME)) || \ - defined (ACE_HAS_CLOCK_GETTIME_MONOTONIC) + (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)) # if defined (ACE_WIN32) # include "ace/Date_Time.h" |