2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

merging current boost/python and libs/python from trunk into release branch

[SVN r67446]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2010-12-24 17:31:05 +00:00
parent 6066ffef9a
commit 736ba48c2b

View File

@@ -122,7 +122,7 @@ BOOST_PYTHON_TO_INT(short)
BOOST_PYTHON_TO_INT(int)
BOOST_PYTHON_TO_INT(long)
# if defined(_MSC_VER) && defined(_WIN64)
# if defined(_MSC_VER) && defined(_WIN64) && PY_VERSION_HEX < 0x03000000
/* Under 64-bit Windows std::size_t is "unsigned long long". To avoid
getting a Python long for each std::size_t the value is checked before
the conversion. A std::size_t is converted to a simple Python int