Skip to content

Commit a5c6c5f

Browse files
committed
ninja-fix Slight tweak to conditional logic in last commit
1 parent b144a84 commit a5c6c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cassandra/io/libevwrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ initlibevwrapper(void)
665665
if (PyModule_AddObject(module, "Timer", (PyObject *)&libevwrapper_TimerType) == -1)
666666
INITERROR;
667667

668-
#if PY_MAJOR_VERSION < 3 && PY_MINOR_VERSION < 7
668+
#if PY_MAJOR_VERSION < 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 7)
669669
// Since CPython 3.7, `Py_Initialize()` routing always initializes GIL.
670670
// Routine `PyEval_ThreadsInitialized()` has been deprecated in CPython 3.7
671671
// and completely removed in CPython 3.13.

0 commit comments

Comments
 (0)