From 8f3d32c1f57ce70442a43e50fad8ebfdaa6c0465 Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Mon, 21 Oct 2024 22:19:47 +0200 Subject: [PATCH] Fix `PyInterpreterState_GetID` patch in CMake --- src/pyfastani/_patch.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyfastani/_patch.pxi b/src/pyfastani/_patch.pxi index a79afbc..0a41220 100644 --- a/src/pyfastani/_patch.pxi +++ b/src/pyfastani/_patch.pxi @@ -1,6 +1,6 @@ cdef extern from *: """ - #ifndef HAS_PYINTERPRETERSTATE_GETID + #ifndef HAVE_PYINTERPRETERSTATE_GETID int64_t PyInterpreterState_GetID(PyInterpreterState *interp) { return 0; }