is_standalone.hpp 696 B

123456789101112131415161718
  1. // Copyright Matt Borland 2021.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_MATH_TOOLS_IS_STANDALONE_HPP
  6. #define BOOST_MATH_TOOLS_IS_STANDALONE_HPP
  7. #ifdef __has_include
  8. #if !__has_include(<boost/config.hpp>) || !__has_include(<boost/assert.hpp>) || !__has_include(<boost/lexical_cast.hpp>) || \
  9. !__has_include(<boost/throw_exception.hpp>) || !__has_include(<boost/predef/other/endian.h>)
  10. # ifndef BOOST_MATH_STANDALONE
  11. # define BOOST_MATH_STANDALONE
  12. # endif
  13. #endif
  14. #endif
  15. #endif // BOOST_MATH_TOOLS_IS_STANDALONE_HPP