]> git.pld-linux.org Git - packages/boost.git/commitdiff
- fix for python < 2.5. perhaps correctly
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 10 Jan 2007 23:44:48 +0000 (23:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    boost-python.patch -> 1.5

boost-python.patch

index 7c1aa29458bb5dff5432834cb03b9acf4b6cbb28..8dfe46f374e0feba4a0e70165c8e2558d754c937 100644 (file)
            if (!_PyEval_SliceIndex(v, &ilow))
                return -1;
            if (!_PyEval_SliceIndex(w, &ihigh))
+--- boost_1_33_1/libs/python/src/object_protocol.cpp~  2007-01-11 01:41:12.236117736 +0200
++++ boost_1_33_1/libs/python/src/object_protocol.cpp   2007-01-11 01:41:13.476145496 +0200
+@@ -7,6 +7,10 @@
+ #include <boost/python/errors.hpp>
+ #include <boost/python/object.hpp>
++#if (PY_VERSION_HEX < 0x02050000)
++typedef ssize_t     Py_ssize_t;
++#endif
++
+ namespace boost { namespace python { namespace api {
+ BOOST_PYTHON_DECL object getattr(object const& target, object const& key)
This page took 0.036865 seconds and 4 git commands to generate.