aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-06-18 17:42:18 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-06-18 17:42:18 +0000
commit8813911e60b5d4d32cba5dbfc28d2e680d7fc768 (patch)
treef414bf81c0f72e9a64a873ceeea1ebf6fcc20776
parent9de7cc83e6544bbff8481669b1cdf34fa5326086 (diff)
downloadpaludis-8813911e60b5d4d32cba5dbfc28d2e680d7fc768.tar.gz
paludis-8813911e60b5d4d32cba5dbfc28d2e680d7fc768.tar.xz
(python) Fix for <boost-1.34.0.
-rw-r--r--python/paludis_python_so.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/paludis_python_so.cc b/python/paludis_python_so.cc
index 51d655e..62663a9 100644
--- a/python/paludis_python_so.cc
+++ b/python/paludis_python_so.cc
@@ -19,6 +19,8 @@
#include <paludis_python.hh>
+#include <boost/version.hpp>
+
void expose_contents();
void expose_dep_spec();
void expose_eapi();
@@ -39,7 +41,10 @@ void expose_version_spec();
BOOST_PYTHON_MODULE(paludis)
{
+#if BOOST_VERSION >= 103400
boost::python::docstring_options doc_options(true, false);
+#endif
+
expose_exception();
expose_version_spec();
expose_version_operator();