|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66762 - trunk/boost/config/stdlib
From: admin_at_[hidden]
Date: 2010-11-25 23:43:57
Author: wash
Date: 2010-11-25 23:43:56 EST (Thu, 25 Nov 2010)
New Revision: 66762
URL: http://svn.boost.org/trac/boost/changeset/66762
Log:
Should fix issue with fenv.h detection on Darwin.
Text files modified:
trunk/boost/config/stdlib/libstdcpp3.hpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2010-11-25 23:43:56 EST (Thu, 25 Nov 2010)
@@ -54,11 +54,9 @@
# define BOOST_HAS_THREADS
#endif
-#if !defined(CYGWIN) && (defined(unix) || defined(__unix) || defined(__unix__))
+#if !defined(CYGWIN)
# include <unistd.h>
-# if defined(_POSIX_VERSION) || defined(_XOPEN_VERSION)
-# define BOOST_HAS_FENV_H
-# endif
+# define BOOST_HAS_FENV_H
#endif
#if !defined(_GLIBCPP_USE_LONG_LONG) \
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