changes to get wrapper builds working on windows with VS2017

This commit is contained in:
greg landrum
2018-04-11 15:28:58 +02:00
parent 2174465536
commit f051e329fd
3 changed files with 7 additions and 1 deletions

View File

@@ -61,6 +61,10 @@
#include <boost/shared_array.hpp>
%}
// The actual definition isn't in the top level hpp file!
// The next two lines are to work around a problem caused by the fact that older versions of
// SWIG don't work with newer versions of boost.
#define BOOST_SP_NOEXCEPT
#define BOOST_SP_NOEXCEPT_WITH_ASSERT
#define BOOST_NOEXCEPT
#define BOOST_NO_CXX11_RVALUE_REFERENCES
#define BOOST_NO_CXX11_NULLPTR