chrono.hpp 1.9 KB

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