//  (C) Copyright John Maddock 2008.
//  Use, modification and distribution are subject to the
//  Boost Software License, Version 1.0. (See accompanying file
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)


#if !defined(BOOST_TR1_CMATH_INCLUDED) || defined(BOOST_TR1_NO_RECURSION)
#ifndef BOOST_TR1_CMATH_INCLUDED
#  define BOOST_TR1_CMATH_INCLUDED
#endif
#  ifdef BOOST_TR1_NO_CMATH_RECURSION2
#     define BOOST_TR1_NO_CMATH_RECURSION3
#  elif defined(BOOST_TR1_NO_CMATH_RECURSION)
#     define BOOST_TR1_NO_CMATH_RECURSION2
#  elif !defined(BOOST_TR1_NO_RECURSION)
#     define BOOST_TR1_NO_RECURSION
#     define BOOST_TR1_NO_CMATH_RECURSION
#  endif
#  include <boost/tr1/detail/config_all.hpp>
#  ifdef BOOST_HAS_INCLUDE_NEXT
#     include_next <cmath>
#  else
#     include BOOST_TR1_STD_CHEADER(cmath)
#  endif
#ifdef BOOST_TR1_NO_CMATH_RECURSION3
#  undef BOOST_TR1_NO_CMATH_RECURSION3
#elif defined(BOOST_TR1_NO_CMATH_RECURSION2)
#  undef BOOST_TR1_NO_CMATH_RECURSION2
#elif defined(BOOST_TR1_NO_CMATH_RECURSION)
#     undef BOOST_TR1_NO_RECURSION
#     undef BOOST_TR1_NO_CMATH_RECURSION
#  endif
#endif

#if !defined(BOOST_TR1_FULL_CMATH_INCLUDED) && !defined(BOOST_TR1_NO_RECURSION)
#  define BOOST_TR1_FULL_CMATH_INCLUDED
#  define BOOST_TR1_NO_RECURSION
#  include <boost/tr1/cmath.hpp>
#  undef BOOST_TR1_NO_RECURSION
#endif

