--- trunk/finley/src/CPPAdapter/finleycpp.cpp 2008/11/19 04:59:43 2063 +++ trunk/finley/src/CPPAdapter/finleycpp.cpp 2008/11/20 04:06:34 2064 @@ -35,6 +35,7 @@ #include #include #include +#include using namespace boost::python; @@ -78,8 +79,11 @@ BOOST_PYTHON_MODULE(finleycpp) { +// This feature was added in boost v1.34 +#if ((BOOST_VERSION/100)%1000 > 33) || (BOOST_VERSION/100000 >1) // params are: bool show_user_defined, bool show_py_signatures, bool show_cpp_signatures docstring_options docopt(true, true, false); +#endif // // NOTE: The return_value_policy is necessary for functions that