1// chrono.cpp --------------------------------------------------------------//
2
3// Copyright Beman Dawes 2008
4// Copyright Vicente J. Botet Escriba 2009
5
6// Distributed under the Boost Software License, Version 1.0.
7// See http://www.boost.org/LICENSE_1_0.txt
8
9#ifndef BOOST_CHRONO_DETAIL_INLINED_CHRONO_HPP
10#define BOOST_CHRONO_DETAIL_INLINED_CHRONO_HPP
11
12#include <boost/version.hpp>
13#include <boost/chrono/chrono.hpp>
14#if defined BOOST_CHRONO_PROVIDE_HYBRID_ERROR_HANDLING
15#include <boost/system/system_error.hpp>
16#endif
17#include <boost/throw_exception.hpp>
18#include <boost/chrono/detail/system.hpp>
19
20//----------------------------------------------------------------------------//
21// //
22// Platform-specific Implementations //
23// //
24//----------------------------------------------------------------------------//
25
26//----------------------------------------------------------------------------//
27// Windows //
28//----------------------------------------------------------------------------//
29#if defined(BOOST_CHRONO_WINDOWS_API)
30#include <boost/chrono/detail/inlined/win/chrono.hpp>
31
32//----------------------------------------------------------------------------//
33// Mac //
34//----------------------------------------------------------------------------//
35#elif defined(BOOST_CHRONO_MAC_API)
36#include <boost/chrono/detail/inlined/mac/chrono.hpp>
37
38//----------------------------------------------------------------------------//
39// POSIX //
40//----------------------------------------------------------------------------//
41#elif defined(BOOST_CHRONO_POSIX_API)
42#include <boost/chrono/detail/inlined/posix/chrono.hpp>
43
44#endif // POSIX
45
46#endif
47

source code of boost/libs/chrono/include/boost/chrono/detail/inlined/chrono.hpp