summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_time.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-12-22 16:04:46 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-12-22 16:04:46 +0000
commit3a4d33ffefc764ec5284a8260a6d7a263287f062 (patch)
treef52a028fd5e4ed95d97985a36db75199409c65b3 /ACE/ace/OS_NS_time.inl
parentb914d682f9cfc98dc0bc31efa2f38deab892b504 (diff)
downloadATCD-3a4d33ffefc764ec5284a8260a6d7a263287f062.tar.gz
Mon Dec 22 16:05:46 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/OS_NS_time.inl')
-rw-r--r--ACE/ace/OS_NS_time.inl3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_time.inl b/ACE/ace/OS_NS_time.inl
index cf4a1b105ff..9c7def18b5d 100644
--- a/ACE/ace/OS_NS_time.inl
+++ b/ACE/ace/OS_NS_time.inl
@@ -334,8 +334,9 @@ ACE_OS::gethrtime (const ACE_HRTimer_Op op)
ACE_OS::clock_gettime (
#if defined (ACE_HAS_CLOCK_GETTIME_MONOTONIC)
CLOCK_MONOTONIC,
-#endif /* !ACE_HAS_CLOCK_GETTIME_MONOTONIC */
+#else
CLOCK_REALTIME,
+#endif /* !ACE_HAS_CLOCK_GETTIME_MONOTONIC */
&ts);
// Carefully create the return value to avoid arithmetic overflow