Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70392 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2011-03-22 14:14:01


Author: johnmaddock
Date: 2011-03-22 14:14:00 EDT (Tue, 22 Mar 2011)
New Revision: 70392
URL: http://svn.boost.org/trac/boost/changeset/70392

Log:
Don't include fenv.h when BOOST_NO_FENV_H is set.
Fixes #5356.
Text files modified:
   trunk/boost/math/tools/config.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2011-03-22 14:14:00 EDT (Tue, 22 Mar 2011)
@@ -255,7 +255,7 @@
 } // namespace tools
 }} // namespace boost namespace math
 
-#if (defined(__linux__) && !defined(__UCLIBC__)) || defined(__QNX__) || defined(__IBMCPP__)
+#if ((defined(__linux__) && !defined(__UCLIBC__)) || defined(__QNX__) || defined(__IBMCPP__)) && !defined(BOOST_NO_FENV_H)
 
    #include <boost/detail/fenv.hpp>
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk