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

+7
View File
@@ -12,6 +12,13 @@
#define BOOST_HAS_MACRO_USE_FACET
#define BOOST_NO_STD_MESSAGES
#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
// C++0x headers not yet implemented
//
# define BOOST_NO_0X_HDR_ARRAY