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

#include "foundation/private/config.hpp"

#if _TN_FOUNDATION_USE_STD
#  include <condition_variable>
#else
#  include "boost/thread/condition_variable.hpp"
#endif 

namespace tn {
        using _TN_FOUNDATION_STD_NS::condition_variable;
        using _TN_FOUNDATION_STD_NS::condition_variable_any;
#if defined(_MSC_VER) && _MSC_VER <= 1700 && _TN_FOUNDATION_USE_STD 
        using ::std::cv_status::cv_status;
#else
        using _TN_FOUNDATION_STD_NS::cv_status;
#endif
}

#endif /* TN_FOUNDATION_CONDITION_VARIABLE_HPP */
