forked from boostorg/config
Fix unversioned VC++ checks
[SVN r14436]
This commit is contained in:
@ -22,6 +22,16 @@
|
||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||
#endif
|
||||
|
||||
//
|
||||
// STLPort's <limits> header #defines ULONGLONG_MAX in this case,
|
||||
// which can cause us confusion later if we don't accept its word that
|
||||
// long long is available. Note that #include <limits.h> may not be
|
||||
// sufficient to see the definition.
|
||||
//
|
||||
#ifdef _STLP_LONG_LONG
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
//
|
||||
// If STLport thinks that there is no partial specialisation, then there is no
|
||||
// std::iterator traits:
|
||||
|
@ -28,7 +28,8 @@
|
||||
// no namespace issues from this.
|
||||
//
|
||||
#include <limits.h>
|
||||
# if !defined(BOOST_MSVC) && !defined(__BORLANDC__) \
|
||||
# if !defined(BOOST_HAS_LONG_LONG) \
|
||||
&& !(defined(BOOST_MSVC) && BOOST_MSVC <=1300) && !defined(__BORLANDC__) \
|
||||
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user