|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62068 - trunk/boost/test/impl
From: dgregor_at_[hidden]
Date: 2010-05-17 12:16:08
Author: dgregor
Date: 2010-05-17 12:16:08 EDT (Mon, 17 May 2010)
New Revision: 62068
URL: http://svn.boost.org/trac/boost/changeset/62068
Log:
Darwin does not have feenablexcept. Fixes #4222.
Text files modified:
trunk/boost/test/impl/execution_monitor.ipp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2010-05-17 12:16:08 EDT (Mon, 17 May 2010)
@@ -1320,8 +1320,8 @@
return BOOST_FPE_INV;
return ~old_cw & BOOST_FPE_ALL;
-#elif defined(__CYGWIN__)
- /* Not Implemented in cygwin */
+#elif defined(__CYGWIN__) || defined(__APPLE__)
+ /* Not Implemented in cygwin or apple */
return 0;
#else
::feclearexcept(BOOST_FPE_ALL);
@@ -1347,8 +1347,8 @@
return BOOST_FPE_INV;
return ~old_cw & BOOST_FPE_ALL;
-#elif defined(__CYGWIN__)
- /* Not Implemented in cygwin */
+#elif defined(__CYGWIN__) || defined(__APPLE__)
+ /* Not Implemented in cygwin or apple */
return BOOST_FPE_INV;
#else
::feclearexcept(BOOST_FPE_ALL);
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