From 130de54f232e2460e2fccf331f146edd03ad7d98 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 18 Mar 2003 22:31:12 +0000 Subject: [PATCH] fix for Visual C++ >= 7.1 as per David Abrahams [SVN r17978] --- include/boost/python/opaque_pointer_converter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/opaque_pointer_converter.hpp b/include/boost/python/opaque_pointer_converter.hpp index d4e03a14..76fca41a 100644 --- a/include/boost/python/opaque_pointer_converter.hpp +++ b/include/boost/python/opaque_pointer_converter.hpp @@ -112,7 +112,7 @@ PyTypeObject opaque_pointer_converter::type_object = ::boost::python::detail::dealloc }; }} // namespace boost::python -# ifdef BOOST_MSVC +# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) // MSC works without this workaround, but needs another one ... # define BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(Pointee) \ BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Pointee)