diff options
author | Marcel Smit <msmit@remedy.nl> | 2015-02-17 14:35:05 +0100 |
---|---|---|
committer | Marcel Smit <msmit@remedy.nl> | 2015-02-17 14:35:05 +0100 |
commit | 471a3ade696e780798cc66d00f10271d60c0ee28 (patch) | |
tree | 9e947538dd0920736ca9807a056f6ea716f57c05 /ACE/ace/Time_Value.h | |
parent | d6f9e4d8d17e60fd217b9ca38b47159ff2e24fd3 (diff) | |
download | ATCD-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.h | 4 |
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); |