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
2010-11-23 03:34:05 +00:00
parent 1aa27f2bc1
commit edab200d72
10 changed files with 126 additions and 85 deletions
@@ -54,6 +54,12 @@
# define BOOST_HAS_THREADS
#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
#if !defined(_GLIBCPP_USE_LONG_LONG) \
&& !defined(_GLIBCXX_USE_LONG_LONG)\
+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):
+7
View File
@@ -16,6 +16,13 @@
# endif
#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
//
// __STL_STATIC_CONST_INIT_BUG implies BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
// for versions prior to 4.1(beta)
+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