vc7.0 compatibility fix

[SVN r17099]
This commit is contained in:
Fernando Cacciola
2003-01-30 22:13:22 +00:00
parent 196b8e7ea0
commit ac6f68cf80

View File

@ -63,7 +63,7 @@ using boost::get_pointer ;
// MSVC6.0 does not support comparisons of optional against a literal null pointer value (0)
// via the safe_bool operator.
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1200) // 1200 == VC++ 6.0
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1300) ) // 1300 == VC++ 7.1
#define BOOST_OPTIONAL_NO_NULL_COMPARE
#endif