diff options
author | Marcel Smit <msmit@remedy.nl> | 2015-02-17 14:08:11 +0100 |
---|---|---|
committer | Marcel Smit <msmit@remedy.nl> | 2015-02-17 14:08:11 +0100 |
commit | d6f9e4d8d17e60fd217b9ca38b47159ff2e24fd3 (patch) | |
tree | adb7bffc5249a316b93e921d81cd0ebb26c1873d /ACE/ace/Time_Value.h | |
parent | 7248a8d8ebcdf6472754ee5f42940bb07ed247b0 (diff) | |
download | ATCD-d6f9e4d8d17e60fd217b9ca38b47159ff2e24fd3.tar.gz |
Replaced the check on the value of _cplusplus with
ACE_HAS_CPP11.
* 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h index 6cf00c69d39..cabd34fcfe4 100644 --- a/ACE/ace/Time_Value.h +++ b/ACE/ace/Time_Value.h @@ -21,9 +21,9 @@ # include "ace/os_include/os_time.h" -#if __cplusplus >= 201103L +#if ACE_HAS_CPP11 #include <chrono> -#endif +#endif /* ACE_HAS_CPP11 */ // Define some helpful constants. // Not type-safe, and signed. For backward compatibility. @@ -82,11 +82,11 @@ public: /// Construct the ACE_Time_Value object from a timespec_t. explicit ACE_Time_Value (const timespec_t &t); -#if __cplusplus >= 201103L +#if 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); -#endif /* __cplusplus => 201103L */ +#endif /* ACE_HAS_CPP11 */ /// Destructor virtual ~ACE_Time_Value (); |