diff options
-rw-r--r-- | src/pythonize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pythonize.cpp b/src/pythonize.cpp index 9d41f69..2315d75 100644 --- a/src/pythonize.cpp +++ b/src/pythonize.cpp @@ -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 |