Added BOOST_HAS_FENV_H detection to Boost.Config (if this macro is defined, then

the standard library/platform provide a POSIX compliant implementation of fenv.h).



[SVN r66693]
This commit is contained in:
Bryce Adelstein-Lelbach committed 2010-11-23 03:34:05 +00:00
1 parent 1aa27f2bc1
commit edab200d72
10 files changed
+126 -85

No files matched your search

+8
View File
@@ -40,6 +40,14 @@
# define BOOST_NO_STRINGSTREAM
#endif
#if !defined(CYGWIN) && (defined(unix) || defined(__unix) || defined(__unix__))
# include <unistd.h>
# if defined(_POSIX_VERSION) || defined(_XOPEN_VERSION)
# define BOOST_HAS_FENV_H
# endif
#endif
//
// Assume no std::locale without own iostreams (this may be an
// incorrect assumption in some cases):