summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.h
diff options
context:
space:
mode:
authorMarcel Smit <msmit@remedy.nl>2015-02-17 14:35:05 +0100
committerMarcel Smit <msmit@remedy.nl>2015-02-17 14:35:05 +0100
commit471a3ade696e780798cc66d00f10271d60c0ee28 (patch)
tree9e947538dd0920736ca9807a056f6ea716f57c05 /ACE/ace/Time_Value.h
parentd6f9e4d8d17e60fd217b9ca38b47159ff2e24fd3 (diff)
downloadATCD-471a3ade696e780798cc66d00f10271d60c0ee28.tar.gz
Fixed compile issues related to the usage of the
ACE_HAS_CPP11 define. * ACE/ace/OS_NS_unistd.h: * ACE/ace/OS_NS_unistd.inl: * ACE/ace/Time_Value.h: * ACE/ace/Time_Value.inl:
Diffstat (limited to 'ACE/ace/Time_Value.h')
-rw-r--r--ACE/ace/Time_Value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h
index cabd34fcfe4..cc6173badcd 100644
--- a/ACE/ace/Time_Value.h
+++ b/ACE/ace/Time_Value.h
@@ -21,7 +21,7 @@
# include "ace/os_include/os_time.h"
-#if ACE_HAS_CPP11
+#if defined (ACE_HAS_CPP11)
#include <chrono>
#endif /* ACE_HAS_CPP11 */
@@ -82,7 +82,7 @@ public:
/// Construct the ACE_Time_Value object from a timespec_t.
explicit ACE_Time_Value (const timespec_t &t);
-#if ACE_HAS_CPP11
+#if defined (ACE_HAS_CPP11)
/// Construct the ACE_Time_Value object from a chrono duration.
template< class Rep, class Period >
explicit ACE_Time_Value (const std::chrono::duration<Rep, Period>& duration);