summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karamba_python.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/karamba_python.cpp')
-rw-r--r--superkaramba/src/karamba_python.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/karamba_python.cpp b/superkaramba/src/karamba_python.cpp
index 65ce4fa..f732570 100644
--- a/superkaramba/src/karamba_python.cpp
+++ b/superkaramba/src/karamba_python.cpp
@@ -444,7 +444,7 @@ void KarambaPython::initPython()
PyImport_AppendInittab((char*)"karamba", PyInit_karamba);
Py_Initialize();
-#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 6
+#if PY_VERSION_HEX < 0x03070000
// initialize thread support
PyEval_InitThreads();
#endif