Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61957 - branches/release/boost/numeric/interval
From: dgregor_at_[hidden]
Date: 2010-05-13 19:28:35


Author: dgregor
Date: 2010-05-13 19:28:33 EDT (Thu, 13 May 2010)
New Revision: 61957
URL: http://svn.boost.org/trac/boost/changeset/61957

Log:
Teach Numeric/Interval that Apple platforms provide <fenv.h> for rounding control
Text files modified:
   branches/release/boost/numeric/interval/hw_rounding.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/numeric/interval/hw_rounding.hpp
==============================================================================
--- branches/release/boost/numeric/interval/hw_rounding.hpp (original)
+++ branches/release/boost/numeric/interval/hw_rounding.hpp 2010-05-13 19:28:33 EDT (Thu, 13 May 2010)
@@ -17,7 +17,7 @@
 #define BOOST_NUMERIC_INTERVAL_NO_HARDWARE
 
 // define appropriate specialization of rounding_control for built-in types
-#if defined(__x86_64__) && defined(__USE_ISOC99)
+#if defined(__x86_64__) && (defined(__USE_ISOC99) || defined(__APPLE__))
 # include <boost/numeric/interval/detail/c99_rounding_control.hpp>
 #elif defined(__i386__) || defined(_M_IX86) || defined(__BORLANDC__) || defined(_M_X64)
 # include <boost/numeric/interval/detail/x86_rounding_control.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