Skip to content

Commit 736ba48

Browse files
author
Ralf W. Grosse-Kunstleve
committed
merging current boost/python and libs/python from trunk into release branch
[SVN r67446]
1 parent 6066ffe commit 736ba48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/python/converter/builtin_converters.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ BOOST_PYTHON_TO_INT(short)
122122
BOOST_PYTHON_TO_INT(int)
123123
BOOST_PYTHON_TO_INT(long)
124124

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

0 commit comments

Comments
 (0)