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
6#ifndef BOOST_MATH_TOOLS_IS_STANDALONE_HPP
7#define BOOST_MATH_TOOLS_IS_STANDALONE_HPP
8
9#ifdef __has_include
10#if !__has_include(<boost/config.hpp>) || !__has_include(<boost/assert.hpp>) || !__has_include(<boost/lexical_cast.hpp>) || \
11 !__has_include(<boost/throw_exception.hpp>) || !__has_include(<boost/predef/other/endian.h>)
12# ifndef BOOST_MATH_STANDALONE
13# define BOOST_MATH_STANDALONE
14# endif
15#endif
16#endif
17
18#endif // BOOST_MATH_TOOLS_IS_STANDALONE_HPP
19

source code of include/boost/math/tools/is_standalone.hpp