/*
 * Copyright 2015 Telenav Inc. All rights reserved.
 */
#ifndef TN_FOUNDATION_CHRONO_HPP
#define TN_FOUNDATION_CHRONO_HPP

#include "foundation/private/config.hpp"

// We can't provide tn::chrono on WindowsCE because standard library doesn't 
// include it and boost::chrono doesn't compile there because of bugs in standard
// library.
#pragma message("'foundation/chrono.hpp' is deprecated until it's available on all our platforms. Use 'foundation/simple_time.hpp' instead.")

#if !TN_PLATFORM_WINCE
#if _TN_FOUNDATION_USE_STD
#  include <chrono>
#else
#  include "boost/chrono/include.hpp"
#endif 

namespace tn {
namespace chrono = _TN_FOUNDATION_STD_NS::chrono;
} // namespace tn

#endif // TN_PLATFORM_WINCE

#endif /* TN_FOUNDATION_CHRONO_HPP */
