aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-python/unwind-type.patch
diff options
context:
space:
mode:
authorBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
committerBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
commit230d795ae3c3f2e45821b887c6065a81a8c04326 (patch)
tree7b014a1547ff1cc9ef80add56eb03b17774a1ff6 /ports/boost-python/unwind-type.patch
parent3d1fbeb7de48a3d7a782be7b8722efb5015c7010 (diff)
parent9b21ff9612916e24f89c6839599d3d50446597d8 (diff)
downloadvcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.tar.gz
vcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.zip
Merge branch 'master' of https://github.com/EMCECS/vcpkg
# Conflicts: # ports/ecsutil/CONTROL # ports/ecsutil/portfile.cmake
Diffstat (limited to 'ports/boost-python/unwind-type.patch')
-rw-r--r--ports/boost-python/unwind-type.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/ports/boost-python/unwind-type.patch b/ports/boost-python/unwind-type.patch
new file mode 100644
index 000000000..62e9c8185
--- /dev/null
+++ b/ports/boost-python/unwind-type.patch
@@ -0,0 +1,31 @@
+diff --git a/include/boost/python/detail/unwind_type.hpp b/include/boost/python/detail/unwind_type.hpp
+index f6cdab6..da9633b 100644
+--- a/include/boost/python/detail/unwind_type.hpp
++++ b/include/boost/python/detail/unwind_type.hpp
+@@ -11,7 +11,7 @@
+
+ namespace boost { namespace python { namespace detail {
+
+-#ifndef _MSC_VER //if forward declared, msvc6.5 does not recognize them as inline
++#if !defined(_MSC_VER) || _MSC_VER >= 1915 //if forward declared, msvc6.5 does not recognize them as inline
+ // forward declaration, required (at least) by Tru64 cxx V6.5-042
+ template <class Generator, class U>
+ inline typename Generator::result_type
+@@ -83,7 +83,7 @@ struct unwind_helper<false>
+
+ template <class Generator, class U>
+ inline typename Generator::result_type
+-#ifndef _MSC_VER
++#if !defined(_MSC_VER) || _MSC_VER >= 1915
+ unwind_type(U const& p, Generator*)
+ #else
+ unwind_type(U const& p, Generator* = 0)
+@@ -148,7 +148,7 @@ struct unwind_helper2<reference_to_pointer_>
+ // why bother?
+ template <class Generator, class U>
+ inline typename Generator::result_type
+-#ifndef _MSC_VER
++#if !defined(_MSC_VER) || _MSC_VER >= 1915
+ unwind_type(boost::type<U>*, Generator*)
+ #else
+ unwind_type(boost::type<U>*p =0, Generator* =0)