Minor improvement to python version detection condition.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head r14.1.0
Michele Calgaro 2 years ago
parent e0c6c2a79a
commit 79f67e722a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -44,7 +44,7 @@ Pythonize::Pythonize ()
{
Py_Initialize();
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 6
#if PY_VERSION_HEX < 0x03070000
// initialize thread support
PyEval_InitThreads();
#endif

Loading…
Cancel
Save