Skip to content

Commit c104f01

Browse files
committed
VC7.1 alpha adjustments
[SVN r15003]
1 parent 6e3c6d1 commit c104f01

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

include/boost/python/converter/arg_to_python_base.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ struct registration;
1616
namespace detail
1717
{
1818
struct BOOST_PYTHON_DECL arg_to_python_base
19-
# if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102171
19+
# if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
2020
: handle<>
2121
# endif
2222
{
2323
arg_to_python_base(void const volatile* source, registration const&);
24-
# if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && _MSC_FULL_VER <= 13102171
24+
# if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && _MSC_FULL_VER <= 13102179
2525
PyObject* get() const { return m_ptr.get(); }
2626
PyObject* release() { return m_ptr.release(); }
2727
private:

src/converter/arg_to_python_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace detail
3838
{
3939
arg_to_python_base::arg_to_python_base(
4040
void const volatile* source, registration const& converters)
41-
# if !defined(BOOST_MSVC) || _MSC_FULL_VER != 13102171
41+
# if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
4242
: handle<>(converter::convert_to_python(source, converters))
4343
# else
4444
: m_ptr(converter::convert_to_python(source, converters))

src/object/class.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ namespace objects
268268

269269
object module_name = PyObject_IsInstance(scope().ptr(), upcast<PyObject>(&PyModule_Type))
270270
? scope().attr("__name__")
271-
: getattr(scope(), "__module__", object(""))
271+
: api::getattr(scope(), "__module__", object(""))
272272
;
273273

274274
if (module_name)

src/object/inheritance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <boost/python/object/inheritance.hpp>
77
#include <boost/python/type_id.hpp>
88
#include <boost/graph/breadth_first_search.hpp>
9-
#if defined(BOOST_MSVC) && _MSC_FULL_VER == 13102171
9+
#if _MSC_FULL_VER >= 13102171 && _MSC_FULL_VER <= 13102179
1010
# include <boost/graph/reverse_graph.hpp>
1111
#endif
1212
#include <boost/graph/adjacency_list.hpp>

0 commit comments

Comments
 (0)