diff options
Diffstat (limited to 'third-party/boost-math/include/boost/math/tools/is_standalone.hpp')
| -rw-r--r-- | third-party/boost-math/include/boost/math/tools/is_standalone.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third-party/boost-math/include/boost/math/tools/is_standalone.hpp b/third-party/boost-math/include/boost/math/tools/is_standalone.hpp new file mode 100644 index 000000000000..343bbc20af03 --- /dev/null +++ b/third-party/boost-math/include/boost/math/tools/is_standalone.hpp @@ -0,0 +1,18 @@ +// Copyright Matt Borland 2021. +// 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) + +#ifndef BOOST_MATH_TOOLS_IS_STANDALONE_HPP +#define BOOST_MATH_TOOLS_IS_STANDALONE_HPP + +#ifdef __has_include +#if !__has_include(<boost/config.hpp>) || !__has_include(<boost/assert.hpp>) || !__has_include(<boost/lexical_cast.hpp>) || \ + !__has_include(<boost/throw_exception.hpp>) || !__has_include(<boost/predef/other/endian.h>) +# ifndef BOOST_MATH_STANDALONE +# define BOOST_MATH_STANDALONE +# endif +#endif +#endif + +#endif // BOOST_MATH_TOOLS_IS_STANDALONE_HPP |
