forked from boostorg/config
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:
@@ -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)\
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user