forked from boostorg/config
Added *nix identification macros to Boost.Config; BOOST_NIX, BOOST_GENETIC_NIX,
BOOST_TRADEMARK_NIX and BOOST_FUNCTIONAL_NIX. [SVN r66804]
This commit is contained in:
@@ -37,6 +37,9 @@
|
||||
//
|
||||
#endif
|
||||
|
||||
/// Visual Studio has no fenv.h
|
||||
#define BOOST_NO_FENV_H
|
||||
|
||||
#if (_MSC_VER <= 1300) // 1300 == VC++ 7.0
|
||||
|
||||
# if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za
|
||||
|
||||
@@ -43,6 +43,9 @@
|
||||
#define BOOST_HAS_STDINT_H
|
||||
#endif
|
||||
|
||||
/// Cygwin has no fenv.h
|
||||
#define BOOST_NO_FENV_H
|
||||
|
||||
#include <boost/config/posix_features.hpp>
|
||||
|
||||
// Cygwin lies about XSI conformance, there is no nl_types.h.
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
# define BOOST_SYMBOL_IMPORT __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
|
||||
# define BOOST_HAS_STDINT_H
|
||||
# define __STDC_LIMIT_MACROS
|
||||
|
||||
@@ -54,11 +54,6 @@
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
# include <unistd.h>
|
||||
# define BOOST_HAS_FENV_H
|
||||
#endif
|
||||
|
||||
#if !defined(_GLIBCPP_USE_LONG_LONG) \
|
||||
&& !defined(_GLIBCXX_USE_LONG_LONG)\
|
||||
&& defined(BOOST_HAS_LONG_LONG)
|
||||
@@ -67,6 +62,10 @@
|
||||
# undef BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
|
||||
# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
|
||||
# define BOOST_HAS_SLIST
|
||||
|
||||
@@ -40,11 +40,8 @@
|
||||
# define BOOST_NO_STRINGSTREAM
|
||||
#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
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -16,11 +16,8 @@
|
||||
# endif
|
||||
#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
|
||||
#endif
|
||||
|
||||
//
|
||||
|
||||
@@ -12,11 +12,8 @@
|
||||
#define BOOST_HAS_MACRO_USE_FACET
|
||||
#define BOOST_NO_STD_MESSAGES
|
||||
|
||||
#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
|
||||
#endif
|
||||
|
||||
// C++0x headers not yet implemented
|
||||
|
||||
Reference in New Issue
Block a user