From fdac2f83cd10de9c1a47cd6b52aec3cdbae222d6 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 7 Nov 2007 10:07:08 +0000 Subject: [PATCH] Ooops, got the pp-logic wrong and disable long double support for all Unix platforms, instead of just Intel on Linux prior to version 10. [SVN r40878] --- include/boost/math/tools/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/tools/config.hpp b/include/boost/math/tools/config.hpp index 54453a08f..86f4f54f1 100644 --- a/include/boost/math/tools/config.hpp +++ b/include/boost/math/tools/config.hpp @@ -39,7 +39,7 @@ // # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS #endif -#if defined(unix) && (__INTEL_COMPILER <= 1000) +#if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000) // // Intel compiler prior to version 10 has sporadic problems // calling the long double overloads of the std lib math functions: