Move libcds 1.6.0 from SVN
[libcds.git] / cds / details / std / chrono.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_DETAILS_STD_CHRONO_H
4 #define __CDS_DETAILS_STD_CHRONO_H
5
6 //@cond
7
8 #include <cds/details/defs.h>
9
10 #ifdef CDS_CXX11_STDLIB_CHRONO
11 #   include <chrono>
12 namespace cds_std {
13     namespace chrono = std::chrono;
14 }
15 #else
16 #   include <boost/chrono.hpp>
17 namespace cds_std {
18     namespace chrono = boost::chrono;
19 }
20 #endif
21
22 //@endcond
23
24 #endif // #ifndef __CDS_DETAILS_STD_CHRONO_H