Skip to content

Commit cc80f46

Browse files
committed
Python: Remove obsolete MSVC version check.
[SVN r86029]
1 parent 42e7d7b commit cc80f46

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

include/boost/python/detail/msvc_typeinfo.hpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@
1010
#include <boost/type_traits/config.hpp>
1111

1212
//
13-
// Fix for MSVC's broken typeid() implementation which doesn't strip
13+
// Fix for icc's broken typeid() implementation which doesn't strip
1414
// decoration. This fix doesn't handle cv-qualified array types. It
1515
// could probably be done, but I haven't figured it out yet.
1616
//
1717

18-
# if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 700
18+
// Note: This file is badly named. It initially was MSVC specific, but was
19+
// extended to cover intel too. Now the old version of MSVC is no longer
20+
// supported, but the intel version is still supported.
21+
22+
# if defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 700
1923

2024
namespace boost { namespace python { namespace detail {
2125

@@ -71,5 +75,5 @@ inline typeinfo assert_array_typeid_compiles()
7175

7276
}}} // namespace boost::python::detail
7377

74-
# endif // BOOST_MSVC
78+
# endif // BOOST_INTEL_CXX_VERSION
7579
#endif // MSVC_TYPEINFO_DWA200222_HPP

0 commit comments

Comments
 (0)