Squashed 'third_party/boostorg/math/' content from commit 0e9549f
Change-Id: I7c2a13cb6a5beea4a471341510d8364cedd71613
git-subtree-dir: third_party/boostorg/math
git-subtree-split: 0e9549ff2f854e6edafaf4627d65026f2f533a18
diff --git a/config/has_long_double_support.cpp b/config/has_long_double_support.cpp
new file mode 100644
index 0000000..d314cf3
--- /dev/null
+++ b/config/has_long_double_support.cpp
@@ -0,0 +1,10 @@
+// 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)
+
+#include <boost/math/tools/config.hpp>
+
+#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built."
+#endif