Fix for Rogue Wave library detection in config.hpp

[SVN r9032]
This commit is contained in:
John Maddock
2001-02-08 12:58:11 +00:00
parent 9b7b4524e3
commit 21d4ae5c2c

View File

@@ -267,6 +267,8 @@
#elif defined __BORLANDC__ #elif defined __BORLANDC__
# define BOOST_NO_SLIST # define BOOST_NO_SLIST
# define BOOST_NO_HASH # define BOOST_NO_HASH
// pull in standard library version:
# include <memory>
# if __BORLANDC__ <= 0x0551 # if __BORLANDC__ <= 0x0551
# define BOOST_NO_INTEGRAL_INT64_T # define BOOST_NO_INTEGRAL_INT64_T
# define BOOST_NO_PRIVATE_IN_AGGREGATE # define BOOST_NO_PRIVATE_IN_AGGREGATE
@@ -290,6 +292,12 @@
# else # else
# define BOOST_DECL # define BOOST_DECL
# endif # endif
#if (__BORLANDC__ == 0x550) || (__BORLANDC__ == 0x551)
// <climits> is partly broken, some macos define symbols that are really in
// namespace std, so you end up having to use illegal constructs like
// std::DBL_MAX, as a fix we'll just include float.h and have done with:
#include <float.h>
#endif
// Intel -------------------------------------------------------------------// // Intel -------------------------------------------------------------------//
@@ -438,7 +446,7 @@
// end of compiler specific portion ----------------------------------------// // end of compiler specific portion ----------------------------------------//
#if defined(BOOST_NO_LIMITS) || \ #if defined(BOOST_NO_LIMITS) || \
(defined(_RWSTD_VER) && _RWSTD_VER < 0x0203) || \ (defined(_RWSTD_VER) && _RWSTD_VER < 0x020300) || \
(defined(__SGI_STL_PORT) && __SGI_STL_PORT <= 0x410 && __STL_STATIC_CONST_INIT_BUG) (defined(__SGI_STL_PORT) && __SGI_STL_PORT <= 0x410 && __STL_STATIC_CONST_INIT_BUG)
// STLPort 4.0 doesn't define the static constants in numeric_limits<> so that they // STLPort 4.0 doesn't define the static constants in numeric_limits<> so that they
// can be used at compile time if the compiler bug indicated by // can be used at compile time if the compiler bug indicated by
@@ -499,3 +507,4 @@ namespace std {
#endif // BOOST_CONFIG_HPP #endif // BOOST_CONFIG_HPP